Turning off a macro

G

Guest

I added a macro to my workbook that updaets a pivot table on fiel-open.

Now I want to turn it off.

I edited the visual basic page where I added the macro code, and took out
the text I added.

Still, the macro runs when I open the file.

What am I supposed to do? Help...
 
G

Gord Dibben

Do you mean the macro actually runs or you just get the message "this workbook
contains macros"?

If the former, you have edited the wrong macro. Look again.

If the latter, you must also delete the Module even though it is empty.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top