Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was create a new document template and created macro to help me get
the template created. Once the template was finished, I deleted the macro. Now, whenever I open the document (as a template, or new document from the template), I get the "This document contains macros - Enable / Disable" security dialog. The document NO LONGER contains macros. I've checked the Macro dialog box. I've even gone into the Visual Basic editor and made sure there were NO macros anywhere in the document. I don't want to change my security settings, as every member of my team is using this template. I just want to prevent the dialog from appearing, since the document no longer contains macros. Any help would be appreciated. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Jon Robertson" wrote in
message ... I was create a new document template and created macro to help me get the template created. Once the template was finished, I deleted the macro. Now, whenever I open the document (as a template, or new document from the template), I get the "This document contains macros - Enable / Disable" security dialog. The document NO LONGER contains macros. I've checked the Macro dialog box. I've even gone into the Visual Basic editor and made sure there were NO macros anywhere in the document. I don't want to change my security settings, as every member of my team is using this template. I just want to prevent the dialog from appearing, since the document no longer contains macros. Any help would be appreciated. Jon, Empty code modules will still cause this dialog box to appear. Did you remove the module that was created when the macro was recorded? To remove it, open up the VB editor, right click on the module in the project explorer and choose Remove Module1 (or whatever it's called). Hope this helps, Mike |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
in the VBE, under this project do you see an entry for Module
even if there is not code in the modules, if they exist, they will trigger this warning. Delete any modules you have listed under Module. If that still doesn't work or you don't have any, then you need to double click on each sheet name in the project explorer to expose the sheet module. Click in it and do Ctrl+a, followed by Delete, then click in the upper right x to close it. -- Regards, Tom Ogilvy "Jon Robertson" wrote in message ... I was create a new document template and created macro to help me get the template created. Once the template was finished, I deleted the macro. Now, whenever I open the document (as a template, or new document from the template), I get the "This document contains macros - Enable / Disable" security dialog. The document NO LONGER contains macros. I've checked the Macro dialog box. I've even gone into the Visual Basic editor and made sure there were NO macros anywhere in the document. I don't want to change my security settings, as every member of my team is using this template. I just want to prevent the dialog from appearing, since the document no longer contains macros. Any help would be appreciated. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
And if you want to see pictures, you can visit Debra Dalgleish's site:
http://www.contextures.com/xlfaqMac.html#NoMacros Jon Robertson wrote: I was create a new document template and created macro to help me get the template created. Once the template was finished, I deleted the macro. Now, whenever I open the document (as a template, or new document from the template), I get the "This document contains macros - Enable / Disable" security dialog. The document NO LONGER contains macros. I've checked the Macro dialog box. I've even gone into the Visual Basic editor and made sure there were NO macros anywhere in the document. I don't want to change my security settings, as every member of my team is using this template. I just want to prevent the dialog from appearing, since the document no longer contains macros. Any help would be appreciated. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro warning despite no macros in document | Excel Discussion (Misc queries) | |||
Document Security - Excel | Excel Discussion (Misc queries) | |||
New Macros Not Being Listed In Macro Dialog Box? | Excel Discussion (Misc queries) | |||
Can't run macros and security dialog not present in xl2000 | Setting up and Configuration of Excel | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming |