savemode in Close method

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
 
S

Sue Mosher [MVP-Outlook]

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
 
L

Long Nguyen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top