Partager via


Document.ReloadAs Method (Word)

Reloads a document based on an HTML document, using the specified document encoding.

Syntax

expression .ReloadAs(Encoding)

expression Required. A variable that represents a Document object.

Parameters

Name

Required/Optional

Data Type

Description

Encoding

Required

MsoEncoding

Specifies the encoding to use when reloading the document.

Example

This example reloads the current document with Cyrillic encoding.

ActiveDocument.ReloadAs msoEncodingCyrillic

See Also

Concepts

Document Object

Document Object Members