Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing Macros from Workbook
For mass data populating purposes, I created a small macro to take care
of a repetitive task. I saved the file and then started using the macro. Once that was done, I deleted the macro, expecting that all traces of it would be gone. Now, when I open the file, it brings up the "this contains macros" dialog box. I've gone back in and used Visual Basic Editor and deleted Module 1. I scanned through the various sheets (within the editor) and don't see any signs of a macro. I copied each sheet (Move/copy) into a new workbook, and saved, and when opening the new one, it still shows the macro dialog box. How can I remove all traces of there ever having been a macro, so users don't get this message? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing Macros from Workbook
|
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing Macros from Workbook
Debra Dalgleish shows how to clean up all the remnants of macros: http://www.contextures.com/xlfaqMac.html#NoMacros MicroMain wrote: For mass data populating purposes, I created a small macro to take care of a repetitive task. I saved the file and then started using the macro. Once that was done, I deleted the macro, expecting that all traces of it would be gone. Now, when I open the file, it brings up the "this contains macros" dialog box. I've gone back in and used Visual Basic Editor and deleted Module 1. I scanned through the various sheets (within the editor) and don't see any signs of a macro. I copied each sheet (Move/copy) into a new workbook, and saved, and when opening the new one, it still shows the macro dialog box. How can I remove all traces of there ever having been a macro, so users don't get this message? Thanks -- Dave Peterson |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing Macros from Workbook
Thanks Dave,
I read Debra's notes, and checked my file. I didn't have any extra items besides the standard sheets (having removed module1 earlier). I did the Cntl-A after opening each of the worksheets vba, and deleted all text. Saved the file, went back in and the macro dialog box no longer comes up. Success. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing Macros from Workbook
Debra has lots of neat stuff at her site. (You may want to bookmark it.)
MicroMain wrote: Thanks Dave, I read Debra's notes, and checked my file. I didn't have any extra items besides the standard sheets (having removed module1 earlier). I did the Cntl-A after opening each of the worksheets vba, and deleted all text. Saved the file, went back in and the macro dialog box no longer comes up. Success. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Clearing a cell based on the value of another cell (INDIRECT data) without macros | About this forum | |||
clearing macros in excel when none show up | Excel Discussion (Misc queries) | |||
preventing macros from clearing the undo list | Excel Programming | |||
Worksheet clearing Macros? | Excel Discussion (Misc queries) | |||
Accessing/Clearing range in hidden workbook | Excel Programming |