Share via


Document.SmartTagsAsXMLProps Property (Word)

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.

Sub SaveXMLForSmartTags() 
 ActiveDocument.SmartTagsAsXMLProps = True 
End Sub