Share via


DefaultWebOptions.AlwaysSaveInDefaultEncoding Property (Excel)

True if the default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened. False if the original encoding of the file is used. The default value is False. Read/write Boolean.

Syntax

expression .AlwaysSaveInDefaultEncoding

expression A variable that represents a DefaultWebOptions object.

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 = True

See Also

Concepts

DefaultWebOptions Object

DefaultWebOptions Object Members