R
Roger on Excel
I have a userform which sizes to the screen using the following code
Private Sub UserForm_Initialize()
With Me
.Height = Application.Height
.Width = Application.Width
.Left = Application.Left
.Top = Application.Top
End With
End Sub
I have a command button on the userform, but I would like it to be always
centered on the page.
Is there a way to do this?
Many thanks,
Roger
Private Sub UserForm_Initialize()
With Me
.Height = Application.Height
.Width = Application.Width
.Left = Application.Left
.Top = Application.Top
End With
End Sub
I have a command button on the userform, but I would like it to be always
centered on the page.
Is there a way to do this?
Many thanks,
Roger