If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Purging Macros

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-24-04, 14:44
aaroncoppersmit aaroncoppersmit is offline
Registered User
 
Join Date: Feb 2004
Posts: 13
Purging Macros

I have a problem with purging Macros.

Example:

I "saveas" a file that contains macros to a new file, go into the macros dialog box, and delete all of the macros. This should have removed all of the macros, right? However, every time that I open the file, I still get the "Warning, this file contains macros" dialog box. I have double checked, and the file does not contain macros, at least any that are visible from the tools/macros dialog box.

Is there a way to purge all references to past macros so that this dialog does not come up when I open the file?

Thanks,

Aaron
Reply With Quote
  #2 (permalink)  
Old 06-24-04, 14:59
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Two possibilities:

1. Did you also go into VBE window (ALT+F11) and check whether the Module is still there? If it is, even though it is empty, the warning will still appear. In Project Explorer on the left sid eof the screen, right-click on the module and choose Remove (don't export).

2. Do you have any VBA code in an individual worksheet? Right-click the tab and choose View Code. See if there is any code there. Check all the tabs (worksheets) in the workbook.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 06-28-04, 15:46
aaroncoppersmit aaroncoppersmit is offline
Registered User
 
Join Date: Feb 2004
Posts: 13
Solved

Thanks, Shades.

I never seemed to have gotten the email that a reply had been posted. Thanks for the solution. I deleted all of the modules, and the dialog went away.

Aaron
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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