Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have been working on Excel VBA for some time now.. Actually what i want to do is quite simple. i want to copy data from another sheet in the same workbook checking the keyfield coloumn and i am trying to get the values using the Application.WorksheetFunction.VLookup like the syntax given :"(Application.WorksheetFunction.VLookup(SearchStr ing, MyRange, ReturnCol, False)") but the range is not coming through properly.When i try to check the range in the immediate window it gives me a type mismatch error... I am fetching the range as given below "(Set MyRange = Sheets("SheetName (2)").Range("A7:B20")").... Can anyone please help me on this it would be great if any one in the group can... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with Application.WorksheetFunction | Excel Discussion (Misc queries) | |||
application.worksheetfunction | Excel Programming | |||
Application.worksheetfunction | Excel Programming | |||
application.worksheetfunction.vlookup | Excel Programming | |||
Using Application.WorksheetFunction.Ln(...) in VBA | Excel Programming |