Code Examples For RunCommand Constants

Move Form

acCmdDocMove

This code displays the 4 headed arrow so that the form can be moved using the arrow keys on the keyboard.

'***************** Code Start *******************

Sub cmdMove_Click()

  DoCmd.RunCommand acCmdDocMove

End Sub

'****************** Code End ********************