Document.SmartTagsAsXMLProps Property

Word Developer Reference

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.

Syntax

expression.SmartTagsAsXMLProps

expression   An expression that returns a Document object.

Example

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

Visual Basic for Applications
  Sub SaveXMLForSmartTags()
    ActiveDocument.SmartTagsAsXMLProps = True
End Sub

See Also