Closing a document

  • Thread starter Thread starter popper4
  • Start date Start date
P

popper4

In my Outlook application I have code that takes me into
a Word document. When I go there, I close the Word doc.
but if I try to open it again from Outlook I get an error
that says the Word doc. is already open. How do I make
sure the Word doc. is closed before I try to open it
again?

Thnks
 
Did you dereference the Word document, i.e. set it to Nothing in your code?
--
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