I have some problems with the SetFocus command in a Userform with an AfterUpdate or BeforeUpdate routine.
To make it clear to you, I made a very small Userform to demonstrate it. It only contains 8 TextBoxes and this code:
I expected that in all cases, the focus should be set to TextBox08, but this only happens with the Change event.Please Login or Register to view this content.
Do you have any suggestions how I can set the focus to TextBox08 in an AfterUpdate or BeforeUpdate event?
I use Excel 2007
Kind regards,
Otto.
Bookmarks