Check for existence of ActiveDocument in Word Application

L

LostInMD

Hi,

I'm attempting to determine whether there is an ActiveDocument off the
Application.

Scenario: Word application is running but there is no open document. User
clicks a commandbar button. I need to determine in the code behind the
button if there is an ActiveDocument for me to type text onto. Cannot do a
Application.Documents.Count b/c it sometimes returns a hit for the Normal.dot
template. I need to determine whether there is an active .doc.

Thanks!
 
Top