View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Peter[_51_] Peter[_51_] is offline
external usenet poster
 
Posts: 8
Default Trapping Keystrokes from Addin

Hi,
I have developed an Excel Addin using VB .NET and am trying to work out
how to capture keypress events.

I suspect it would follow the same principles as a COM

I see the Application.OnKey method, but this only seems to call an
excel macro. Is there any way for it to trigger an VB event.
Any ideas would be most appreciated.

Regards,
Peter