|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 536 Joined: 19-May 06 From: Leeds, UK Member No.: 23,963 |
Post
#1
Mar 5 2007, 11:18 AM
What I'm trying to do is have it that when you click a command button ("CommandButton1" name will be changed later on What I have is some simple code: CODE Private Sub CommandButton1_Click() Label1.Caption = Application.WorksheetFunction.VLookup("Gateway Plaza", "C3:C26", 1, False) End Sub At first I kept getting "Run time error 13" but I added "WorksheetFunction" and then I started getting "Run time error 1004: Unable to get the Vlookup property of the WorksheetFunction Class" How do I fix it? Edit: Haha, I didn't need to use Vlookup Label1.Caption = Range("C3") Close topic please This post has been edited by Dagoth Nereviar: Mar 5 2007, 11:26 AM |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 5,876 Joined: 21-September 07 Member No.: 50,369 |
Post
#2
May 31 2009, 04:51 AM
Vlookup macro Vlookup In Vba/excel Dear all, if anybody could help me creating a vlookup macro using offset. Data is too large so I need a macro which work fast. Sheet1 contains folio in coloum A and units in coulumn B. Sheet2 contains the same. I want compare the units for same folio in coulumn C. Thanks in advance -question by Sandeep
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
0 | etms | 816 | 22nd June 2006 - 12:45 PM Last post by: etms |
|||
![]() |
1 | googlue | 2,159 | 4th October 2004 - 07:12 AM Last post by: sanweikui |
|||
![]() |
33 | Paul | 3,815 | 4th February 2007 - 06:46 PM Last post by: delivi |
|||
![]() |
0 | Binod Singh | 1,701 | 27th March 2005 - 06:41 AM Last post by: Binod Singh |
|||
![]() |
2 | kvarnerexpress | 2,340 | 23rd May 2005 - 05:08 AM Last post by: lava.alt |
|||
![]() |
2 | cse-icons | 7,414 | 26th May 2005 - 12:23 AM Last post by: DanManIt |
|||
![]() |
9 | ARNEL | 2,743 | 21st May 2005 - 11:04 PM Last post by: badinfluence |
|||
![]() |
4 | kvarnerexpress | 1,831 | 20th October 2005 - 02:45 AM Last post by: dul |
|||
![]() |
5 | cse-icons | 2,576 | 11th June 2005 - 09:25 AM Last post by: cse-icons |
|||
![]() |
0 | moldboy | 1,476 | 13th June 2005 - 03:06 AM Last post by: moldboy |
|||
![]() |
13 | csmith | 8,778 | 4th August 2009 - 10:03 PM Last post by: iG-David |
|||
![]() |
3 | 9khonnei | 1,199 | 25th February 2006 - 01:09 AM Last post by: Lyon2 |
|||
![]() |
4 | moldboy | 770 | 11th January 2006 - 11:46 PM Last post by: moldboy |
|||
![]() |
1 | Lyon2 | 2,841 | 23rd March 2006 - 07:13 AM Last post by: Lyon2 |
|||
![]() |
5 | tehyev | 889 | 24th October 2006 - 10:51 PM Last post by: BuffaloHelp |
|||
|
Open Discussion | Time is now: 7th November 2009 - 01:03 AM |
Web Hosting Powered by ComputingHost.com.