![]() |
Disabling macros
Hello,
I have a word document containing macros which run automatically when I launch the document. Specifically, the macro displays a userform which prompts the user to enter data that will go into the word file but saves a copy of this word file with the changes. The original file is untouched. So far so good. Here is my dilemma: I do not want the macro to run each time I open the copy of the original file. I found WordBasic.DisableAutoMacros at the following link but do not know how or where to use it. Can I use this command to disable auto-open macros from copies but keep the auto-open macros enabled in the original file? Thanks. http://word.mvps.org/FAQs/InterDev/D...AutoMacros.htm |
Disabling macros
Whoops! wrong forum.
"EllenM" wrote: Hello, I have a word document containing macros which run automatically when I launch the document. Specifically, the macro displays a userform which prompts the user to enter data that will go into the word file but saves a copy of this word file with the changes. The original file is untouched. So far so good. Here is my dilemma: I do not want the macro to run each time I open the copy of the original file. I found WordBasic.DisableAutoMacros at the following link but do not know how or where to use it. Can I use this command to disable auto-open macros from copies but keep the auto-open macros enabled in the original file? Thanks. http://word.mvps.org/FAQs/InterDev/D...AutoMacros.htm |
All times are GMT +1. The time now is 06:19 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com