Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Aug 5, 2005
Messages
1
Location
NL
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

Back
Top