before right click problem

  • Thread starter Thread starter Gary Keramidas
  • Start date Start date
G

Gary Keramidas

i have a little routine that runs if i user right clicks a certain cell while
the sheet is protected. i have seen 2 pc's where this does not work, the normal
right click menu pops up.

anyone have a guess as to why?
 
Does any of the other "Events" work on those pc's?
Application.EnableEvents stays put when you set it there, so if someone
wrote code that set it to "False" it is still false. You can test it
with "?Application.EnableEvents" in the Immediate window.

Charles
 
hi charles:

i know it's nothing i wrote, but i guess they could have opened up some other
workbook that set it. but i swear i started excel when i noticed this, but maybe
it was already running and i just loaded my workbook.

thanks, i think i'll just make sure i enable them in my code.

--


Gary


Die_Another_Day said:
Does any of the other "Events" work on those pc's?
Application.EnableEvents stays put when you set it there, so if someone
wrote code that set it to "False" it is still false. You can test it
with "?Application.EnableEvents" in the Immediate window.

Charles
 
Gary, re-starting xl does not reset EnableEvents, that's why it's
important to remember to set it back true.

Charles

Gary said:
hi charles:

i know it's nothing i wrote, but i guess they could have opened up some other
workbook that set it. but i swear i started excel when i noticed this, but maybe
it was already running and i just loaded my workbook.

thanks, i think i'll just make sure i enable them in my code.
 
You sure?

I'd check that one more time.

Die_Another_Day said:
Gary, re-starting xl does not reset EnableEvents, that's why it's
important to remember to set it back true.

Charles
 
I stand corrected. Restarting excel does reset the events. I read
somewhere that it did not. My mistake.

Charles
 

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