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

Document Object