Expand Minimize

Document.SmartTagsAsXMLProps Property (Word)

Office 2010

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
Show:
© 2015 Microsoft