Hi,
I have a question about a textbox1_change event.
I created an event that when a number is pasted in a textbox, it will lookup the number in a sheet.
But how do i clear the textbox at the end of the event without triggering the event immediately.
Because if i use this code at the end of the private_sub:
Userform1.Textbox1.value = ""
The textbox will go into a infinite loop.
So what i basically want is that paste value in one textbox on a userform.
The routine runs
And clears the textbox at the end of the Routine so i can paste the next value in the textbox
I have a question about a textbox1_change event.
I created an event that when a number is pasted in a textbox, it will lookup the number in a sheet.
But how do i clear the textbox at the end of the event without triggering the event immediately.
Because if i use this code at the end of the private_sub:
Userform1.Textbox1.value = ""
The textbox will go into a infinite loop.
So what i basically want is that paste value in one textbox on a userform.
The routine runs
And clears the textbox at the end of the Routine so i can paste the next value in the textbox