ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   make hotkey in commandbutton1 on userform (https://www.excelbanter.com/excel-programming/406133-make-hotkey-commandbutton1-userform.html)

x taol

make hotkey in commandbutton1 on userform
 


I made a userform having many controls.
by the way, whereever focus is in any control,I want to run the specific
routine. but using accelerator property, a alphabet key only.. thus that
method no good.

I want to....
for example, press {F1} key, run something routine...
which, of course, the focus in any control where it can.





*** Sent via Developersdex http://www.developersdex.com ***


All times are GMT +1. The time now is 04:17 PM.

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