savemode in Close method

  • Thread starter Thread starter Long Nguyen
  • Start date Start date
L

Long Nguyen

(Outlook 2002, sp2)
The Close method has SaveMode as its parameter. The Microsoft VB online help
text lists the available SaveMode for VBA (olDiscard, olPromptForSave,
olSave), but I am working with vbscript in custom form so need to know the
equivalent savemode numbers (0, 1 etc). I just wonder if 0 is for
olDiscard, 1 for olPromptForsave and 2 for olSave? Where can I find
documentation on save mode number?

Thanks
 
When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from <All Libraries> to Outlook to browse all Outlook objects and their properties, methods, and events, including constant enumerations.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
thanks Sue.
regards
When in doubt, check the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Switch from <All Libraries> to
Outlook to browse all Outlook objects and their properties, methods, and
events, including constant enumerations.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top