Determine if a document is open in Word application

L

LostInMD

I am using VB.Net with VBA (Word in particular). How do I determine if an
Word document exists in my word application? I attempted to use .Count and
am getting a hit of 1 sometimes when I have 0 documents open b/c Normal.dot
is being included in my document count.
 
J

Jean-Guy Marcil

LostInMD was telling us:
LostInMD nous racontait que :
I am using VB.Net with VBA (Word in particular). How do I determine
if an Word document exists in my word application? I attempted to
use .Count and am getting a hit of 1 sometimes when I have 0
documents open b/c Normal.dot is being included in my document count.

Replied in vba.general, please do not multi-post.


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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