How can I set userform textbox tab order with code when user clicks command button on userform? I have one userform with four command buttons and 3 frames. Depending on the button pushed, the code turns on the appropriate textboxes. I cannot figure out how with the code to set the desired tabindex sequence for the textboxes that have been turned on.