C
chrisdarl
Hi, I am wanting to keep the possition of the userform the same and
was thinking of a code to add that when the mouse moves or is clicke
the left & top possition is checked and if left is not 350 and top i
not 115 then they are changed to that value.
I was thinking of something like:
If Me.Left >= 350 Or Me.Left <= 350 Or Me.Top >= 115 Or Me.Top <= 11
Then
Me.Left = 350
Me.Top = 115
End If
proberly completely wrong but can anyone give me any ideas as im no
sure where to put this?
I've tried Private sub userform_click() ect.
Many thanks Chris
was thinking of a code to add that when the mouse moves or is clicke
the left & top possition is checked and if left is not 350 and top i
not 115 then they are changed to that value.
I was thinking of something like:
If Me.Left >= 350 Or Me.Left <= 350 Or Me.Top >= 115 Or Me.Top <= 11
Then
Me.Left = 350
Me.Top = 115
End If
proberly completely wrong but can anyone give me any ideas as im no
sure where to put this?
I've tried Private sub userform_click() ect.
Many thanks Chris