Code Examples For RunCommand Constants

Restore Form Size

acCmdDocRestore

This code restores the form to its normal size. It is designed to be put behind a command button called cmdRestore.

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

Sub cmdRestore_Click()

  DoCmd.RunCommand acCmdDocRestore

End Sub

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