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 > Excel Macro Deleted

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-06, 08:59
nmfduffy nmfduffy is offline
Registered User
 
Join Date: Nov 2006
Posts: 5
Excel Macro Deleted

I have an excel spreadsheet that pops up the enable/disable macros box each time I open the file - there is no macro that I can find in the file - I went to tools/macros/inthis workbook how can I strip the unseen macro so that I don't get this message anymore?

Thank you in advance for your help!
Reply With Quote
  #2 (permalink)  
Old 11-20-06, 09:33
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy and welcome to the board.

Sometimes someone will delete the macro but not the module which contains it. Open this file and enable macros. While in Excel, hit ALT + F11 [key]. This brings up the VBE window. On the left you should see the Project Explorer (like Windows Explorer); if not hit CTRL + R. Then find the file that is open, and open the tree view, and open the Module folder. You will probably see one module listed. Right-click on it, and choose "Remove module". A dialog will appear that asks whether you want to export it, click "No". Then hit ALT + F11 [key] to go back to Excel. Now save the document. Close it, and then open it. It should no longer give the warning. If it does, then post back.
__________________
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
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