Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dewy Cheatum & Howe
 
Posts: n/a
Default How turn off macro security question for workbook with no marcos?

When you open a file with macros in medium security you see a dialog box"
Security Warning File x.xls contains macros. Do you want to Disable /
Enable?" You do not see this dialog box for workbooks that have never had a
macro. I created a macro in a workbook and later delete it, but still get the
dialog box, even though no macro is present. Is it possible to turn off the
Security Warning for a workbook after all macros are deleted and still
maintain medium macro security?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default How turn off macro security question for workbook with no marcos?

Dewy

After deleting the macro(s) you must also delete the module(s) they resided
in.

With the workbook open, hit ALT + F11 to get to the Visual Basic Editor.

CTRL + r to open Project Explorer.

Select your workbook/project and expand it.

Find and right-click on "module1" and Remove Module.

Click "No" when asked if you want to export it.

If you palced any code in worksheets, open them and clear.

Same for Thisworkbook.

Save after and you should lose the message.


Gord Dibben Excel MVP

On Fri, 9 Dec 2005 13:23:02 -0800, "Dewy Cheatum & Howe" <Dewy Cheatum &
wrote:

When you open a file with macros in medium security you see a dialog box"
Security Warning File x.xls contains macros. Do you want to Disable /
Enable?" You do not see this dialog box for workbooks that have never had a
macro. I created a macro in a workbook and later delete it, but still get the
dialog box, even though no macro is present. Is it possible to turn off the
Security Warning for a workbook after all macros are deleted and still
maintain medium macro security?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dewy Cheatum & Howe
 
Posts: n/a
Default How turn off macro security question for workbook with no marc

Thank you Gord. That worked great! Dewy

"Gord Dibben" wrote:

Dewy

After deleting the macro(s) you must also delete the module(s) they resided
in.

With the workbook open, hit ALT + F11 to get to the Visual Basic Editor.

CTRL + r to open Project Explorer.

Select your workbook/project and expand it.

Find and right-click on "module1" and Remove Module.

Click "No" when asked if you want to export it.

If you palced any code in worksheets, open them and clear.

Same for Thisworkbook.

Save after and you should lose the message.


Gord Dibben Excel MVP

On Fri, 9 Dec 2005 13:23:02 -0800, "Dewy Cheatum & Howe" <Dewy Cheatum &
wrote:

When you open a file with macros in medium security you see a dialog box"
Security Warning File x.xls contains macros. Do you want to Disable /
Enable?" You do not see this dialog box for workbooks that have never had a
macro. I created a macro in a workbook and later delete it, but still get the
dialog box, even though no macro is present. Is it possible to turn off the
Security Warning for a workbook after all macros are deleted and still
maintain medium macro security?


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 Question? Greg B Excel Discussion (Misc queries) 7 March 9th 05 01:08 PM
Excel Macro Question about Conditional Formatting David Britton via OfficeKB.com New Users to Excel 3 February 10th 05 02:23 PM
2003 to 2000 security question Sunset Superman Excel Discussion (Misc queries) 2 January 27th 05 03:31 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
Attn: Dave P. Question re Pix Calls via Macro DocuMike Excel Discussion (Misc queries) 1 January 10th 05 01:38 AM


All times are GMT +1. The time now is 12:03 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"