Macro Error when Sheet is Protected

J

Johnny

I deleted a Macro that I had previously set up in a workbook. When I
password protect one of my sheets and try to click in a any locked cell on
the sheet I get an error message that the macro I deleted cannot be found. I
need to be able to protect the sheet so I hope someone can help me resolve
this.
 
M

Miguel Zapico

It may be that you have code in the Worksheet_SelectionChange area that is
trying to call your deleted macro. You can check it by right clicking on the
worksheet tab, and selecting View code.

Hope this helps,
Miguel.
 
J

Johnny

I couldn't find the problem in the code. When unprotect the worksheet, I
able to click on what I want with that error message coming up. I have
hypelinks set up on that worksheet and when I protect it, every cell I click
in brings up an macro error message telling me that the macro (the one I
deleted) cannot be found.
 
D

Dave Peterson

Do you have any worksheet events (or workbook events or application events)
running that call another routine?
 

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