Document.XMLUseXSLTWhenSaving property (Word)
Returns a Boolean that represents whether to save a document through an Extensible Stylesheet Language Transformation (XSLT). True saves a document through an XSLT.
Syntax
expression. XMLUseXSLTWhenSaving
expression An expression that returns a Document object.
Remarks
When setting the XMLUseXSLTWhenSaving property to True, use the XMLSaveThroughXSLT property to specify the path and file name of the XSLT to use.
Example
The following example specifies that Microsoft Word will use an XSLT when saving the active document, and then specifies which XSLT to use.
ActiveDocument.XMLUseXSLTWhenSaving = True
ActiveDocument.XMLSaveThroughXSLT = "c:\schemas\book.xslt"
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for