ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Application.OnKey (https://www.excelbanter.com/excel-programming/321734-re-application-onkey.html)

Norman Jones

Application.OnKey
 
Hi Kevin,

Try:

Application.OnKey "+^T", ""


---
Regards,
Norman



"Kevin H. Stecyk" wrote in message
...
Hi,

If I set Application.OnKey during opening of the workbook:

Application.OnKey "+^T", "DoMyStuff"

I suspect that I should somehow cancel it when the workbook closes. How
do I accomplish that?

Your guidance is appreciated.

Regards,
Kevin





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

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