BeforeRightClick - XL2K on XP_Home

A

Andy Brown

Hi all. I have a sheet with many columns and a whole BeforeRightClick thing,
such that if rightclicked column = x, do this ; if y, do that ; if z, do the
other. Come to think of it, I could probably use a Select Case but I
digress.

Anyway, is there any way I can get the event(s) to fire on pressing the
pop-up menu key (the one next to the r-hand CTRL)? OnKey won't cut it,
according to Help. BTW, where the heck's the CLEAR key?

TIA, either way have a good Xmas,
Andy
 
B

Bernie Deitrick

Andy,

AFAIK, there is no event associated with showing the CELL commandbar.

You could easily re-write your event as a standard macro and assign it a
shortcut key.... post your code if you need help.

HTH,
Bernie
MS Excel MVP
 
A

Andy Brown

Bernie Deitrick said:
Andy,

AFAIK, there is no event associated with showing the CELL commandbar.

You could easily re-write your event as a standard macro and assign it a
shortcut key.... post your code if you need help.

I'm OK there ; I already have a few. It's just the user does a lot of
keyboarding, so rather than keep switching to the mouse I was hoping for
OnKey {CELL-commandbar-key} if column = 3, sub1 ; if column = 5, sub2, etc.

Thanks for your comments.

Rgds,
Andy
 

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