ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ENTER key (https://www.excelbanter.com/excel-programming/285711-enter-key.html)

irek

ENTER key
 
Hi All;
It seems that VBA treats ENTER key on keyboard and on
keypad differently for the purpose of
Application.OnKey "{ENTER}". Keyboard is captured and
keypad is not. Who knows proper mimic for the keypad?

Irek

Ron de Bruin

ENTER key
 
From the VBA help

ENTER ~ (tilde)
ENTER (numeric keypad) {ENTER}


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"irek" wrote in message ...
Hi All;
It seems that VBA treats ENTER key on keyboard and on
keypad differently for the purpose of
Application.OnKey "{ENTER}". Keyboard is captured and
keypad is not. Who knows proper mimic for the keypad?

Irek




Harald Staff

ENTER key
 
ENTER (numeric keypad) {ENTER}
ENTER ~ (tilde)

(from VBA help)

--
HTH. Best wishes Harald
Followup to newsgroup only please.

"irek" wrote in message
...
Hi All;
It seems that VBA treats ENTER key on keyboard and on
keypad differently for the purpose of
Application.OnKey "{ENTER}". Keyboard is captured and
keypad is not. Who knows proper mimic for the keypad?

Irek




irek[_2_]

ENTER key
 
thx guys;
Irek
"irek" wrote in message
...
Hi All;
It seems that VBA treats ENTER key on keyboard and on
keypad differently for the purpose of
Application.OnKey "{ENTER}". Keyboard is captured and
keypad is not. Who knows proper mimic for the keypad?

Irek





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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com