Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know content type in Word document?

Status
Not open for further replies.

kmalak

Computer
Aug 5, 2005
1
Hi,
How to know the format/content type (wdFormatRTF, wdFormatDocument, etc.) of a document opened with Word?

Set moDoc = moWord.Documents.Open( _
FileName:=Me.path, _
ConfirmConversions:=False, _
ReadOnly:=False, _
AddToRecentFiles:=False, _
PasswordDocument:="", _
PasswordTemplate:="", _
Revert:=False, _
WritePasswordDocument:="", _
WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto _
)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor