Document.ReloadAs Method

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.ReloadAs msoEncodingCyrillic

See Also