AlwaysSaveInDefaultEncoding Property

Microsoft PowerPoint Visual Basic

Determines whether the default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse Default. The original encoding of the file is used when you save a Web page or plain text document, independent of the file's original encoding when opened.
msoTriStateMixed
msoTriStateToggle
msoTrue The default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened.

expression.AlwaysSaveInDefaultEncoding

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Encoding property can be used to set the default encoding.

Example

This example sets the encoding to the default encoding. The encoding is used when you save the document as a Web page.

Application.DefaultWebOptions.AlwaysSaveInDefaultEncoding = msoTrue