Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting rid of Macros 3

Status
Not open for further replies.

Deaks

Mechanical
Oct 30, 2002
23
Hi folks,
I wonder if you can help with a problem I'm having with Excel.
I have a spreadsheet that I created some macros in to help me with the development stage of an application. I then deleted all the macros but when I open the file it still asks me if I wants to run macros, even though there are none there.
I want to solve this before I send it out, can anyone help?

Cheers...
 
Replies continue below

Recommended for you

you can copy your file sheet by sheet into a new excel file and delete the old one, it worked for me.
 
Deaks,

I've had a similar problem with the macro warning after deleting all the macros and I believe it is related to the creation of a "Modules" folder when you create macros.

Try this,
1. Open the offending workbook, let's call it Book1.
2. Select from the menu Tools\Macro\Visual Basic Editor (Alt+F11)
3. In the Visual Basic Editor, select View\Project Explorer (Ctrl+R)
4. In the section of the screen listing your folders, look for the category VBAProject (Book1) where Book1 is the offending workbook name.
You may find you have a Modules folder with a Module1 item. Check to see Module1 is empty and delete it. That should prevent the macro warning message the next time you open.
 
Please see the FAQ in this forum.
faq770-48



--Scott

For some pleasure reading, try FAQ731-376
 
Now, if that is not a classic example of re-inventing the wheel... all this time, and the answer was right there in the FAQs. Obviously pays to check the FAQs. Good FAQ, Swertel!
 
Thanks for the replies people. Hopefully the stars and the "Good" rating will make up for my poor etiquette...
Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor