About the Refresh Toolbar

Microsoft Script Editor

About the Refresh Toolbar

Some of the content in this topic may not be applicable to some languages.

When you view your Office document in the Microsoft Script Editor, you are actually viewing a separate copy of the document. If you make changes to the copy in the Microsoft Script Editor, these changes are out of sync with the copy in the Office application. Alternatively, if you make changes to the copy in the Office application while the Microsoft Script Editor is open, these changes are also out of sync. To save the changes you made to either copy of the document, click Refresh Button image on the Refresh toolbar when you return to the unchanged copy.

Note that when you have made changes to a macro in the Visual Basic Editor while a workbook, presentation, or document is open and have also changed the copy of that Office document in the Microsoft Script Editor, an alert is displayed when you click the Refresh button, indicating that your changes to the Visual Basic project will be lost. To save your changes to the Visual Basic project, you must export the changed modules or forms from the Visual Basic Editor, refresh the Office document, and then import the saved modules or forms back into the Visual Basic project.