Hello Friends,
I want the position of the userform to be as follows
1) Top position > Just below Cell C1
2) Left Position > Just next to Cell B2
As of now I am using this below code but the position get shaken when the screen is zoom out or zoom in
Any help would be appreciated
Regards,
Humayun
I want the position of the userform to be as follows
1) Top position > Just below Cell C1
2) Left Position > Just next to Cell B2
As of now I am using this below code but the position get shaken when the screen is zoom out or zoom in
VBA Code:
Private Sub UserForm_Initialize()
With Me
.StartUpPosition = 0
.Top = Range("C1").Top + 170
.Left = Range("B2").Left + 50
End With
End Sub
Any help would be appreciated
Regards,
Humayun