How to close a locked document?

vb.net , vba , word vba , closing a document , lock India
  • 12 years ago
    Hi All, I am writing a macro in excel, which opens a word document present is some path. if that file is already in use, then my macro should close the file. can any one tell me how can i do this???

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“My definition of an expert in any field is a person who knows enough about what's really going on to be scared.” - P. J. Plauger