Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have buttons on my spreadsheet that run macros no problem.
I copied the spreadsheet to a different location on the same computer, and now when I click a button in the copy to run a macro, i get the error: "A document with the name messed_up.xls is already open. You cannot open two documents with the same name etc." But NO other spreadsheet is open. I can fix this by relinking the button to the macro in the copy it is supposed to run and it works fine again. However, I don't understand what is happening. Are the buttons pointing to macros in the spreadsheet in the original location instead of the copy? When the macros run, are they trying to open the original spreadsheet and hence the error? On this hypothesis, I changed the name of the copy to messed_upMore.xls. Now when I click the button to run the macro in messed_upMore.xls, I get the error "messed_up.xls could not be found. Check the spelling of the file name etc." I hope somebody can explain this or refer me to a resource which will explain it. I have searched google but only found the clue about relinking the macros, with no explanation. Thanks Bill |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro confusion | Excel Worksheet Functions | |||
MDI Confusion | Excel Discussion (Misc queries) | |||
Confusion..... | Excel Discussion (Misc queries) | |||
Macro confusion | Excel Programming | |||
Assign Macro 2 a Button....confusion | Excel Programming |