Document.SmartTagsAsXMLProps Property (Word)

This documentation is preliminary and is subject to change.

True for Microsoft Word to create an XML header containing smart tag information when a document containing smart tags is saved as HTML. Read/write Boolean.

expression .SmartTagsAsXMLProps

expression An expression that returns a Document object.

This example enables saving smart tag information in an XML header if the active document is saved as HTML.

Sub SaveXMLForSmartTags() 
 ActiveDocument.SmartTagsAsXMLProps = True 
End Sub

Community Additions

Show: