Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Purge file of VBA code and macros.

How do I purge an excel file of all macros? I still receive the macro
security warning when opening a file after I previously deleted all the
macros.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Purge file of VBA code and macros.

You have to delete any general/standard modules as well.

If you had code in the sheet/thisworkbook modules, you need to go to each of
them then do Ctrl+A, then delete, then close that module.

Now save the workbook.

--
Regards,
Tom Ogilvy

"CJ" wrote in message
...
How do I purge an excel file of all macros? I still receive the macro
security warning when opening a file after I previously deleted all the
macros.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Purge file of VBA code and macros.

You need to delete the Modules that contained the code.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CJ" wrote in message
...
How do I purge an excel file of all macros? I still receive
the macro
security warning when opening a file after I previously deleted
all the
macros.



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
Merge Purge Meg Excel Discussion (Misc queries) 0 April 14th 08 07:46 PM
Purge or transfer old data automatically? GemznJewlz Excel Worksheet Functions 2 November 18th 05 08:14 PM
Purge data based on another Excel file??? Frank Excel Discussion (Misc queries) 0 September 6th 05 05:12 PM
Purge macros Don_S Excel Worksheet Functions 1 August 16th 05 03:51 PM
Macros inside macros, and pasting into macro code. pagelocator[_2_] Excel Programming 1 November 24th 04 09:11 AM


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