Document.SaveEncoding Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets the encoding to use when saving a document. Read/write MsoEncoding.

expression .SaveEncoding

expression Required. A variable that represents a Document object.

This example specifies Western encoding for saving the current document.

ActiveDocument.SaveEncoding = msoEncodingWestern