ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   error handling (https://www.excelbanter.com/excel-programming/437598-error-handling.html)

Dawna

error handling
 
Is it possible to assign a specific key (such as INS) for error handling? I
have a combobox that pulls data from a list in sheet2. If the Item is not in
the list, I would like the user to be able to press the INS button to call
the code to add the item.

Thank you in advance
Dawna

Patrick Molloy

error handling
 
use the Application.OnKey method

"Dawna" wrote in message
...
Is it possible to assign a specific key (such as INS) for error handling?
I
have a combobox that pulls data from a list in sheet2. If the Item is not
in
the list, I would like the user to be able to press the INS button to call
the code to add the item.

Thank you in advance
Dawna



Dawna

error handling
 
Thank you Patrick

"Patrick Molloy" wrote:

use the Application.OnKey method

"Dawna" wrote in message
...
Is it possible to assign a specific key (such as INS) for error handling?
I
have a combobox that pulls data from a list in sheet2. If the Item is not
in
the list, I would like the user to be able to press the INS button to call
the code to add the item.

Thank you in advance
Dawna




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

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