Programatically closing an Outlook Item?

  • Thread starter Thread starter Mario Escalante
  • Start date Start date
M

Mario Escalante

Is there a way to close an Outlook Item (in this case, a Post custom
form) using a VBscript Command Button?

Since Item_close() is an event handler, I can't use it or I'm not using
properly to access it via VBscript

Thanks for your help.
Mario
remove noSPAM from the email for my address.
 
When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. In this case, PostItem.Close, with the appropriate argument depending on whether you want to save it or not.


--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top