I know that it is possible to let your userform adapt to fullscreen and that it doesn't matter
what resolution you have, with the following code:
I want to know if I can center a frame in this userform automatically?!
what resolution you have, with the following code:
Code:
Private Sub UserForm_Initialize()
With Me
.Width = Application.UsableWidth
.Height = Application.UsableHeight
End With
End Sub
I want to know if I can center a frame in this userform automatically?!