When I click Refresh, a message tells me that my macro changes will be lost.
This message appears when you have made changes to a macro in Microsoft Visual Basic Editor and have also changed the copy of your presentation in Microsoft Script Editor.
To save the changes to your macro, do the following:
- Click No when the message appears.
- Switch to the Visual Basic Editor window.
- On the File menu, click Export File to export any modules you have changed.
- In your presentation in Script Editor, click Refresh on the Refresh toolbar, and then click Yes.
- In Microsoft PowerPoint, import the modules to restore the changes to your macro.
While recording a macro, I recorded an action I didn't want.
To undo an unwanted action in a macro, you can open the macro in Microsoft Visual Basic Editor (Tools menu, Macro command, Visual Basic Editor submenu) and remove any unwanted steps.
A macro I recorded sometimes produces an error message.
A macro you record may not run properly in every situation. If the macro cannot run, Microsoft PowerPoint displays an error message. Some macros depend on certain options or settings in PowerPoint. For example, a macro that inserts a drawing object won't run properly if you are in slide sorter view. If a macro you've recorded produces an error message, note the error number. You can then search for "error messages" in Microsoft Visual Basic Help and find information about the message you received.