"right click" shortcut menu

  • Thread starter Thread starter John LaBombard
  • Start date Start date
J

John LaBombard

I have a Windows 2k user that is using Excel 2002
(10.4524.4219)SP-2.
She lost her shortcut menu when she right clicks in a
cell. I have searched around and cannot find a fix for
this. Any help would be much appreciated.

John LaBombard
 
Hi John,
See my http://www.mvps.org/dmcritchie/excel/event.htm

It looks better if you turn off the normal right click menu when doing your own.
Cancel = True 'prevents normal Right-Click menu from appearing

it only applies to the one sheet and only if the event macro is
still there.

If you lost your right click menu on all sheets then use
Application.CommandBars("Cell").Enabled = True

For a macro to reset several things see reset_things in
http://www.mvps.org/dmcritchie/excel/code/proper.txt
 
-----Original Message-----
Hi John,
See my http://www.mvps.org/dmcritchie/excel/event.htm

It looks better if you turn off the normal right click menu when doing your own.
Cancel = True 'prevents normal Right-Click menu from appearing

it only applies to the one sheet and only if the event macro is
still there.

If you lost your right click menu on all sheets then use
Application.CommandBars("Cell").Enabled = True

For a macro to reset several things see reset_things in
http://www.mvps.org/dmcritchie/excel/code/proper.txt



"John LaBombard" <[email protected]>
wrote in message [email protected]...

It looks like this fix is for a specific sheet. My problem
is that whenever she opens existing or new sheets the
right and the left buttons work the same (no menu). I have
uninstalled\reinstalled Excell on it's own and Office
completely with the same result. I am able to log into the
computer as myself and it works, it looks to be profile
specific. I would like to avoid recreating her profile if
it can be helped. Thanks again for your help.
 
Hi John,
So you are saying that the following line in a normal macro
Application.CommandBars("Cell").Enabled = True 'rclick cell

did not work. Is this just Excel. you might check your
control panel settins for Mouse. Also check for individual
applicaiton overrides on the first tab, if "Enable program specific ..."
is checked than check individual settings from "Settings" button.
 
Can you try another test?

close excel
windows start button|run
excel /safe
(starts excel in safe mode--avoids code and toolbars)

try out right clicking.

If that worked, close excel and search for *.xlb.
Search through hidden folders and hidden files, too.

Rename any you find to *.xlbOLD.

Then restart excel. If that worked, then dump those *.xlbOLD and recreate your
customized toolbars when you have time.
 
I ran this macro:

Option Explicit
Sub testme()
Application.CommandBars("cell").Controls("copy").Enabled = False
End Sub

I rightclicked on a cell and the copy option was disabled.

I closed excel and reopened it (without resetting the toolbar).

The copy option was still greyed out.

I closed excel and dumped my *.xlb file and restarted excel.

I lost all my customizations, but the Copy option was back.

(then I closed excel and copied my backup toolbar file to its rightful spot!!!)

===
I did do this testing after I read your message <bg>, but I think I had tested
this before.

And those customizations have to be stored somewhere.

===

I think the real question is why didn't your suggestion:
Application.CommandBars("Cell").Enabled = True
work.

I would have guessed it would.

But maybe doing both these would make it work:

Application.CommandBars("Cell").reset
Application.CommandBars("Cell").Enabled = True

(but the reset will destroy customizations to just the rightclick menu.)

That, I don't have a theory.
 

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