Show AllShow All

ReloadAs Method

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

expression.ReloadAs(Encoding)

expression    Required. An expression that returns one of the objects in the Applies To list.

Encoding   Required MsoEncoding. The encoding that is to be applied to the workbook.

Remarks

Only msoEncoding constants that are applicable to HTML work with the ReloadAs method.

Example

This example reloads the first workbook, using Western document encoding.

Workbooks(1).ReloadAs Encoding:=msoEncodingWestern