TheAceMan1
Programmer
Howdy All. Hope everyone is doing well . . .
Using Excel 2003 with Vista.
I copied an excel file [blue]AceTest.xls[/blue] to the [purple]same folder[/purple] and renamed to [blue]BBB.xls[/blue]. Then I moved the origional file [blue]AceTest.xls[/blue] to a different folder. Note that security is set to [purple]medium[/purple]. Upon opening [blue]BBB.xls[/blue] and attempting to run a macro via a toolbar button, I get the following popup:
I thought [blue]BBB.xls[/blue] and its code would be independent, so my questions are:
[ol][li]Whats the mechanism thats causing this?[/li]
[li]How do I make [blue]BBB.xls[/blue] and its macros/code independent?[/li][/ol]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
Using Excel 2003 with Vista.
I copied an excel file [blue]AceTest.xls[/blue] to the [purple]same folder[/purple] and renamed to [blue]BBB.xls[/blue]. Then I moved the origional file [blue]AceTest.xls[/blue] to a different folder. Note that security is set to [purple]medium[/purple]. Upon opening [blue]BBB.xls[/blue] and attempting to run a macro via a toolbar button, I get the following popup:
The macro simply opens a user form and now doesn't work/run.popup message said:[blue]'AceTest.xls' could not be found. Check the spelling of the file name, and verify that the file location is correct.
If you are trying to open the file from your list of most recently used files on the file menu, make sure that the file has not been renamed, moved or deleted.[/blue]
I thought [blue]BBB.xls[/blue] and its code would be independent, so my questions are:
[ol][li]Whats the mechanism thats causing this?[/li]
[li]How do I make [blue]BBB.xls[/blue] and its macros/code independent?[/li][/ol]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]