Application.Undo Problem

  • Thread starter Thread starter pgjoshi
  • Start date Start date
P

pgjoshi

I have used application.undo for avoiding deleting the formula fro
unprotected worksheet. It runs well with no errors. But when I try t
delete formula from a cell screen vibrates & take much time t
reposition. Also If I write a msg that "This is a formula You can'
Delete it" then it goes into loop & shows msg repeatedly. Please hel
me.

Prasad Josh
 
Prasad,

You need:

Application.EnableEvents = False
'your code
Application.EnableEvents = True

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

Back
Top