startup a userform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Can i start my userform so it allways
startup in upper right corner of the screen
and maybe allways on top of the screen
so if another application startup the
userform still is on top
Regards alvin
 
Hi Alvin

You can use this event to startup in upper right corner

Private Sub UserForm_Initialize()
Me.StartUpPosition = 0
Me.Top = Application.Top
Me.Left = Application.Width - Me.Width + Application.Left
End Sub
 
Hi Ron
Thanks for your help
It's working

Thank you

alvin


"Ron de Bruin" skrev:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top