Table of contents
Collapse the table of content
Expand the table of content

QueryClose Constants

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

The following constants can be used anywhere in your code in place of the actual values:

vbFormControlMenu0The user chose the Close command from the Control menu on the form.
vbFormCode1The Unload statement is invoked from code.
vbAppWindows2The current Microsoft Windows operating environment session is ending.
vbAppTaskManager3The Windows Task Manager is closing the application.
© 2018 Microsoft