Export (0) Print
Expand All
Expand Minimize

Document.XMLSaveDataOnly Property

Office 2007
Sets or returns a Boolean that represents whether a document is saved with the XML markup or as text only.

Syntax

expression.XMLSaveDataOnly

expression   An expression that returns a Document object.

Remarks

True indicates that Microsoft Word will save a document with custom XML markup and related content only. False indicates that Word will save a document with the full XML markup.

Example

The following example specifies that the active document is saved with custom XML markup and related content only.

Visual Basic for Applications
ActiveDocument.XMLSaveDataOnly = True



Community Additions

ADD
Show:
© 2014 Microsoft