excel vba StartUpPosition code example
Example: excel vba StartUpPosition
With myForm
.StartUpPosition = 0 ' Manual
.StartUpPosition = 1 ' CenterOwner
.StartUpPosition = 2 ' CenterScreen
.StartUpPosition = 3 ' WindowsDefault, screen top left
End With