Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default invoke an event procedure with a shortcut key

Hi all
Is there a way to invoke a worksheet event procedure using some kind of
key combination?
Specificly, I would like to assign some key combination that will
invoke the "worksheet_beforerightclick" event, whithout using the
mouse, and without changing the EditDirectlyInCell property.
Thanks in advance

BawNK

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 219
Default invoke an event procedure with a shortcut key

I don't think you can assign a key combination to the
"Worksheet_BeforeRightClick" event because that event requires the activecell
target range. Otherwise it bombs.
If you want to simply open the Cell commandbar...
Application.CommandBars("Cell").ShowPopup
will do it.

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


" wrote:

Hi all
Is there a way to invoke a worksheet event procedure using some kind of
key combination?
Specificly, I would like to assign some key combination that will
invoke the "worksheet_beforerightclick" event, whithout using the
mouse, and without changing the EditDirectlyInCell property.
Thanks in advance

BawNK


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a Shortcut Key to a Sub Procedure FARAZ QURESHI Excel Discussion (Misc queries) 1 February 12th 09 07:25 AM
Shortcut Key to follow a Call'ed Procedure Neily[_3_] Excel Programming 2 May 9th 06 02:07 PM
Event Procedure Paul Johnson[_2_] Excel Programming 1 February 2nd 05 01:29 PM
Event Procedure again Paul Johnson[_2_] Excel Programming 1 February 2nd 05 01:28 PM
OnTime event not firing in Workbook_Open event procedure GingerTommy Excel Programming 0 September 24th 03 03:18 PM


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"