Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Application.OnKey syntax for + and - keys

I want to assign the + and - keys to run a pair of Excel macros, and am using
the following code

Application.OnKey "{+}", "NextS" ' NEXT
Application.OnKey "{-}", "PrevS" ' PREVIOUS

This works, but not as intended. It responds to the + key (shared with =),
and the - key (shared with _), but resolutely ignores the dedicated + and -
keys on the right hand edge of my keyboard. I think most people prefer to
use single-press + and - keys, and am searching for the alternative
assignations which will map the dedicated + and - keys to the desired
Procedures.
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
Application.OnKey Norman Jones Excel Programming 0 January 27th 05 01:26 AM
Application.OnKey problem R Avery Excel Programming 0 July 8th 04 06:38 PM
application.onkey doesn't work bob Excel Programming 2 May 10th 04 11:06 AM
Application.OnKey problem Phillip Reeves[_2_] Excel Programming 1 January 23rd 04 06:46 PM
capture users Application.OnKey RB Smissaert Excel Programming 1 September 8th 03 02:49 PM


All times are GMT +1. The time now is 08:46 PM.

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"