Code Examples For RunCommand Constants

Resize Form

acCmdDocSize

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

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

Sub cmdSize_Click()

  DoCmd.RunCommand acCmdDocSize

End Sub

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