Deleting Macros

G

Guest

I created a workbook sometime ago and at that time I did not include any
macros in this workbook. When I now open this workbook, I get a warning that
the workbook contains macros. I disable the macros and open the workbook.
Then I go to Tools>Macro>Macros. Under the Macro Name dialog box I see what
apears to be the same Macro name repeated over and over again.

In the Macro dialog box, the only options I have are Run, Cancel and Step
Into. None of these options seem to work. I want to eliminate any Macros in
this workbook. How can I do that?
 
A

Alan

You may have inadvertently created an event on a worksheet.
Hi Alt an F11 to open the VB editor,
If, on the left you see any modules, delete them, on the 'Do you want to
save' prompt click 'No'
Go through all the worksheets on the left, delete all code therein,
Save and that should be it,
Regards,
Alan.
 
G

Guest

Thanks. This worked.

Alan said:
You may have inadvertently created an event on a worksheet.
Hi Alt an F11 to open the VB editor,
If, on the left you see any modules, delete them, on the 'Do you want to
save' prompt click 'No'
Go through all the worksheets on the left, delete all code therein,
Save and that should be it,
Regards,
Alan.
 

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