Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to create a macro with a file name variable. The code I have
written doesn't seem to work, any ideas! Dim ImportDir As String Dim ImportFile As String ImportDir = Range("a17").Value ImportFile = Range("b17").Value Windows("ImportFile").Activate Sheets("Top 10 month").Select |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro question | Excel Worksheet Functions | |||
How to stop Excel remembering/loading macro from previously opened Workbook | Excel Discussion (Misc queries) | |||
Compiling macro based on cell values | Excel Discussion (Misc queries) | |||
write a macro for variable cells | Excel Discussion (Misc queries) | |||
Search, Copy, Paste Macro in Excel | Excel Worksheet Functions |