Align Form To The Left/Center/Right

'Add 3 CommandButtons To Your Form.
'Insert the following code to your form:

Private Sub Command1_Click()
Form1.Left = 0
Form1.Top = Screen.Height / 2 - Form1.Height / 2
End Sub

Private Sub Command2_Click()
Form1.Left = Screen.Width / 2 - Form1.Width / 2
Form1.Top = Screen.Height / 2 - Form1.Height / 2
End Sub

Private Sub Command3_Click()
Form1.Left = Screen.Width - Form1.Width
Form1.Top = Screen.Height / 2 - Form1.Height / 2
End Sub

Go Back