Upravit

Sdílet prostřednictvím


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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.