Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Because elements from the worksheetfunctions class in Excel VBA can't pull
data from a closed workbook. -- Regards, Tom Ogilvy "Baha" wrote in message ... hi, why this code always gives error anyone can help me? Dim x As Long x = Application.WorksheetFunction.VLookup(D7, "C:\Documents and _ Settings\BahadiAkcan\My Documents\Book1hhhfhfh.xls" & .Worksheets _("Sheet1").Range("a1:d33"), 3, 0) _ MsgBox x I have one more question, how can I use A1:F300 array from other file in my book1 without opening the file? Thanks a lot -- Regards, Baha |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup in external file | Excel Worksheet Functions | |||
using another file for vlookup | New Users to Excel | |||
Using VLOOKUP with a reference to a different file... | Excel Worksheet Functions | |||
Variabilize File Path or File Name in SumProduct (and Vlookup too) | Excel Worksheet Functions | |||
File name in Vlookup | Excel Programming |