I have the below code for AfterUpdate event of a textbox (tbQApprPW). It does not run when some value is typed in the textbox and hit enter or tab is pressed.
However, if I click on any other command button on the userform after typing the value in the textbox, the AfterUpdate code runs.
How do I get the code to run when user presses Enter or Tab?
by the way, I have some other code for another textbox on a different userform and it runs fine.
Something to note: This textbox (tbQApprPW) is not visible by default on the userform. It becomes visible when a command button is hit.
Bookmarks