I have a form that has three tabs - a checkbook tab, a budget tab and a balance tab. If I edit the code for the balance tab (the last in the group) and then run the form I get a "runtime error 2110 can't move focus to the control because it is invisible, not enabled or of the type that does not accept the focus." If I go back and edit the form and click on the checkbook tab (the first tab in the group) and then exit the debugger and run the form it works fine. What can I change in order for this to work regardless of which tab I have active when I leave the vba debug?
The code is:
Sub CheckBookForm()
Application.WindowState = xlMinimized
TestUserForm.Show False
End Sub
It errors on "testuserform.show false"
Thanks for the help!
The code is:
Sub CheckBookForm()
Application.WindowState = xlMinimized
TestUserForm.Show False
End Sub
It errors on "testuserform.show false"
Thanks for the help!