Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.24 KB

Word.DefaultWebOptions.AlwaysSaveInDefaultEncoding.md

File metadata and controls

49 lines (28 loc) · 1.24 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DefaultWebOptions.AlwaysSaveInDefaultEncoding property (Word)
vbawd10.chm165871630
vbawd10.chm165871630
Word.DefaultWebOptions.AlwaysSaveInDefaultEncoding
da5dde09-0126-74e2-1288-6dab4fcae966
06/08/2017
medium

DefaultWebOptions.AlwaysSaveInDefaultEncoding property (Word)

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

Syntax

expression.AlwaysSaveInDefaultEncoding

expression A variable that represents a DefaultWebOptions object.

Remarks

False if the original encoding of the file is used. The default value is False.

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 webpage.

Application.DefaultWebOptions _ 
 .AlwaysSaveInDefaultEncoding = True

See also

DefaultWebOptions Object

[!includeSupport and feedback]