Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.2 KB

Word.Document.XMLUseXSLTWhenSaving.md

File metadata and controls

47 lines (27 loc) · 1.2 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.XMLUseXSLTWhenSaving property (Word)
vbawd10.chm158007770
vbawd10.chm158007770
Word.Document.XMLUseXSLTWhenSaving
b2161a4f-9169-6927-8f37-2bc7f5a0b319
06/08/2017
medium

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

Document Object

[!includeSupport and feedback]