RefreshProject Method

Microsoft Office Visual Basic

Refreshes the specified HTML project in the Microsoft Script Editor.

expression.RefreshProject

expression    An expression that returns an HTMLProject object.

Remarks

Using this method is equivalent to clicking the Refresh button on the Refresh toolbar in the Microsoft Script Editor. If you refresh the document by setting RefreshDocument to True, all changes to the HTML source made in the Office host application are saved to the HTML project in the Microsoft Script Editor. If you set RefreshDocument to False, all changes to the HTML source are ignored.

Example

This example refreshes the HTML project in the Microsoft Script Editor.

ActiveWorkbook.HTMLProject.RefreshProject (True)