radubalmus
Programmer
I have a userform that opens with the workbook, and asks for user and password
The problem: When i have other applications opened(internet explorer, windows explorer or other program) if i open my workbook then the userform goes behind all opened applications. I have to minimize all to see the userform and type in user and pass.
Question: how do i set the userform to be shown on top of all opened applications(something like system modal)
Thanks in advance
There are simple solutions for almost every problem! The hard part is to see them!!!!
Code:
Private Sub Workbook_Open()
Application.WindowState = xlMinimized
Application.Visible = False
UserForm2.CommandButton1.Enabled = False
UserForm2.Show
End Sub
The problem: When i have other applications opened(internet explorer, windows explorer or other program) if i open my workbook then the userform goes behind all opened applications. I have to minimize all to see the userform and type in user and pass.
Question: how do i set the userform to be shown on top of all opened applications(something like system modal)
Thanks in advance
There are simple solutions for almost every problem! The hard part is to see them!!!!