How can the coding be applied in VBA

Workbook. rereloads method (Excel) Workbook.ReloadAs method (Excel)

  • 2 minutes to read

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

Syntax syntax

Expression. Reloaded (Coding)expression.ReloadAs (Encoding)

Expression A variable that is a Workbook Object.expression A variable that represents a Workbook object.

ParameterParameters

NameNameRequired / OptionalRequired / OptionalData typeDescriptionDescription
CodingEncodingRequiredMsoEncodingMsoEncodingThe encoding that is to be applied to the workbook.

NotesRemarks

Just MsoEncoding -Constants suitable for HTML **** work with the rereloaded method.Only MsoEncoding constants that are applicable to HTML work with the ReloadAs method.

Example

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? See Office VBA Support and Feedback for help with ways to get support and provide feedback. Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.