Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I wrote a macro that should open file with the name specified in cell
B8. It worked well yesterday but today I opened the file and the macro doesnt work at all. Could anyone tell whats wrong with the code. Here it is the code: Sub Import() Sheets("Instruction").Select Range("B8").Select filetext = Selection.Value & ".xls" directory = ".\" Workbooks.Open directory & filetext End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula doesnt work when copy in different cell | Excel Discussion (Misc queries) | |||
File opens with Enable or Disable Macro | Excel Discussion (Misc queries) | |||
macro from excel 97 that doesnt work in excel 2003 (help) | Excel Discussion (Misc queries) | |||
My first macro - doesnt work - function not recognised | Excel Worksheet Functions | |||
Assign Macro to button in Excel doesnt work Any ideas? | Excel Discussion (Misc queries) |