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
 

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

Back
Top