How to delete a macro that has been assigned to run when workshee.

T

tcsigecan

There are macros that have been programmed into a worksheet that I copied.
These macros are assigned to start-up when I open the worksheet. I then
received a warning message that the macro cannot find the file that it has
been assigned to access at start-up. I do not need the macro and would like
to delete it, however, when I click on the macro it tells me the the
reference is invalid. The delete key for this macor is not highlighted which
prevents me from deleting it from my worksheet.

Any help would be sincerely appreciated.
 
B

Bernie Deitrick

Go into the VBE, and look in the codemodule of the ThisWorkbook object, and
also look in any sheet modules as well. If an event was used, you can't get
to it through the usual Macro edit technique.

HTH,
Bernie
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