ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   texbox event update (https://www.excelbanter.com/excel-programming/390259-texbox-event-update.html)

matelot

texbox event update
 
I have a textbox on a worksheet and a macro is attached to the textbox when
there is a change. However, the textbox1_update event is called when the
first keystroke is hit. So if I want to enter 45, it only recognizes 4 and
not 45. Am I calling the right event? I just want to be able to enter a
number in the textbox and once it's done, it will run a procedure.

Thanks

Corey

texbox event update
 
Change it from the Textbox1_Change vent to:
Textbox1_Exit event.

It will not update until the textbox has been left.

Corey....

"matelot" wrote in message
...
I have a textbox on a worksheet and a macro is attached to the textbox when
there is a change. However, the textbox1_update event is called when the
first keystroke is hit. So if I want to enter 45, it only recognizes 4 and
not 45. Am I calling the right event? I just want to be able to enter a
number in the textbox and once it's done, it will run a procedure.

Thanks



M. Authement

texbox event update
 
Try the Exit event.


"matelot" wrote in message
...
I have a textbox on a worksheet and a macro is attached to the textbox when
there is a change. However, the textbox1_update event is called when the
first keystroke is hit. So if I want to enter 45, it only recognizes 4 and
not 45. Am I calling the right event? I just want to be able to enter a
number in the textbox and once it's done, it will run a procedure.

Thanks





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

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