Closes the form.
object.Close ( [OK] )
- Optional. A Boolean that specifies the close state of the form.
OK is a boolean representing the close state of the form. If OK is True, the form is closed as if the OK button was clicked. If OK is False, the form is closed as if the Cancel button was clicked. If not specified, OK is False. [Optional].