Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Security Dialog - Document has no macros

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Macro Security Dialog - Document has no macros

"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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro Security Dialog - Document has no macros

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Macro Security Dialog - Document has no macros

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro warning despite no macros in document Stuart Excel Discussion (Misc queries) 1 October 22nd 09 12:06 AM
Document Security - Excel Boboluis Excel Discussion (Misc queries) 7 May 27th 09 11:33 PM
New Macros Not Being Listed In Macro Dialog Box? FARAZ QURESHI Excel Discussion (Misc queries) 2 March 15th 08 12:10 PM
Can't run macros and security dialog not present in xl2000 Phil B Setting up and Configuration of Excel 2 September 2nd 05 04:37 PM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM


All times are GMT +1. The time now is 09:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"