Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a piece of code that generates some sheets and saves the file as another file but strips out the code for macros. However, when I open the new file (without the macros) I still get prompted to enable/disable macros. However, when I look for the vba code it is indeed removed and there is no macros listed in the run macro dialog box. Any ideas?? Thanks John |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you probably have a space or something in one of your sheet modules.
Or, you have removed the code from general modules, but left the modules. You would need to remove those as well. -- Regards, Tom Ogilvy John wrote in message ... Hi, I have a piece of code that generates some sheets and saves the file as another file but strips out the code for macros. However, when I open the new file (without the macros) I still get prompted to enable/disable macros. However, when I look for the vba code it is indeed removed and there is no macros listed in the run macro dialog box. Any ideas?? Thanks John |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom, I did indeed.
"Tom Ogilvy" wrote in message ... you probably have a space or something in one of your sheet modules. Or, you have removed the code from general modules, but left the modules. You would need to remove those as well. -- Regards, Tom Ogilvy John wrote in message ... Hi, I have a piece of code that generates some sheets and saves the file as another file but strips out the code for macros. However, when I open the new file (without the macros) I still get prompted to enable/disable macros. However, when I look for the vba code it is indeed removed and there is no macros listed in the run macro dialog box. Any ideas?? Thanks John |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Debra Dalgleish has a WebPage that details how to eliminate this
problem. http://www.contextures.com/xlfaqMac.html#NoMacros HTH Paul -------------------------------------------------------------------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. -------------------------------------------------------------------------------------------------------------- On Sat, 27 Sep 2003 13:26:13 +0000 (UTC), "John" wrote: Hi, I have a piece of code that generates some sheets and saves the file as another file but strips out the code for macros. However, when I open the new file (without the macros) I still get prompted to enable/disable macros. However, when I look for the vba code it is indeed removed and there is no macros listed in the run macro dialog box. Any ideas?? Thanks John |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Debra Dalgleish has some instructions/pictures at:
http://www.contextures.com/xlfaqMac.html#NoMacros John wrote: Hi, I have a piece of code that generates some sheets and saves the file as another file but strips out the code for macros. However, when I open the new file (without the macros) I still get prompted to enable/disable macros. However, when I look for the vba code it is indeed removed and there is no macros listed in the run macro dialog box. Any ideas?? Thanks John -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Enable/Disable macros | Excel Discussion (Misc queries) | |||
Enable/Disable Macros | Excel Discussion (Misc queries) | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming | |||
Enable/Disable Macros | Excel Programming | |||
Enable Macros with No Prompt | Excel Programming |