This documentation is archived and is not being maintained.

Document.SaveEncoding Property

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

Syntax

expression.SaveEncoding

expression   Required. A variable that represents a Document object.

Example

This example specifies Western encoding for saving the current document.

Visual Basic for Applications
ActiveDocument.SaveEncoding = msoEncodingWestern



Show: