Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that inserts a vlookup referencing from
another file, the problem i am having is that the reference file has a different name each time the macro is run. The reference file name is "Consolidted" followed by the creation date. Cells(i, "E").FormulaR1C1 = _ "=VLOOKUP(RC1,'[Consolidated 120903.xls]Sheet1'! C2:C36,18,0)" The creation date is referenced on "Sheet1" range "A1" of the Consolidated file. I have tried using a "MyFile" name but can not make it work. Any help would be greatly appreciated Thanks Michael |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling name of Sheet as a Variable? | Excel Worksheet Functions | |||
calling a value from another file using a variable in the file nam | Excel Worksheet Functions | |||
calling a value from another file using a variable in the file nam | Excel Discussion (Misc queries) | |||
Calling a procudure through variable name | Excel Discussion (Misc queries) | |||
saveas calling a variable | Excel Programming |