Thread
:
Macro Name problem when I change workbook name?
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
Macro Name problem when I change workbook name?
As always, post your code for comments.
--
Don Guillett
SalesAid Software
"Mike" wrote in message
oups.com...
Hi everyone,
Say I created a macro I named "Base" in a an excel workbook named
ABC.xls
Later, say I changed the file name to DEF.xls
Now, when I click on the macro button to execute, I get "out of range"
error and the file close!
How can I make the macro name is independent of the file name; so it
doesn't keep referring to the old file name?
Regards,
Mike
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]