UserForm position

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Hello All,

I have a few userforms in a file and I would like to
manually set the screen position of each. I believe I
have to do this with code, but I am not sure.

Thanks in advance
 
Hi Tim,

You need to add some code to the form code module. This code moves the
userform when it is activated

Private Sub UserForm_Activate()
Me.Left = 100
Me.Top = 200
End Sub

Play with it and get it to your needs.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Back
Top