MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. Record a macro 1. On the Developer tab, in the Code group, click Record Macro. 2. In the Macro name box, type a name for the macro. NOTE If you give a new macro the same name as a built-in macro in Office Word 2007, the new macro actions will replace the built-in macro. To view a list of built-in macros, on the Developer tab, in the Code group, click Macros. In the Macros in list, click Word Commands. 3. In the Store macro in box, click the template (template: A file or files that contain the structure and tools for shaping such elements as the style and page layout of finished files. For example, Word templates can shape a single document, and FrontPage templates can shape an entire Web site.) or document in which you want to store the macro. 1
IMPORTANT To make your macro available in all documents, be sure to click Normal.dotm. 4. In the Description box, type a description of the macro. 5. Do one of the following: Begin recording To begin recording the macro without assigning it to a button on the Quick Access Toolbar or to a shortcut key, click OK. Create a button To assign the macro to a button on the Quick Access Toolbar, do the following: 1. Click Button. 2. Under Customize Quick Access Toolbar, select the document (or all documents) for which you want to add the macro to the Quick Access Toolbar. IMPORTANT To make your macro available in all documents, be sure to click Normal.dotm. 3. Under Choose commands from dialog box, click the macro that you are recording, and then click Add. 4. To customize the button, click Modify. 5. Under Symbol, click the symbol that you want to use for your button. 6. In the Display name box, type the macro name that you want to display. 7. Click OK twice to begin recording the macro. 2
The symbol that you choose is displayed in the Quick Access Toolbar. The name that you type is displayed when you point to the symbol. Assign a keyboard shortcut To assign the macro to a keyboard shortcut, do the following: 1. Click Keyboard. 2. In the Commands box, click the macro that you are recording. 3. In the Press new shortcut key box, type the key sequence that you want, and then click Assign. 4. Click Close to begin recording the macro. 6. Perform the actions that you want to include in the macro. NOTE When you record a macro, you can use the mouse to click commands and options, but not to select text. You must use the keyboard to select text. For more information about selecting text by using the keyboard, see below. 7. To stop recording your actions, click Stop Recording in the Code group. Change the keyboard shortcut for a macro 1. Click the Microsoft Office Button, and then click Word Options. 2. Click Customize. 3. Next to Keyboard shortcuts, click Customize. 3
4. In the Categories list, click Macros. 5. In the Macros list, click the macro that you want to change. 6. In the Press new shortcut key box, type the key combination that you want to choose. 7. Check the Current keys box to make sure that you aren't assigning a key combination that you already use to perform a different task. 8. In the Save changes in list, click the option that matches where you want to run your macro. IMPORTANT To make your macro available in all documents, be sure to click Normal.dotm. 9. Click Close. Run a macro 1. On the Developer tab, in the Code group, click Macros. 2. In the list under Macro name, click the macro that you want to run. 4
3. Click Run. Write a macro from scratch 1. On the Developer tab, in the Code group, click Macros. 2. In the Macro name box, type a name for the macro. NOTE If you give a new macro the same name as a built-in macro in Office Word 2007, the new macro actions will replace the built-in macro. To view a list of built-in macros, click Word Commands in the Macros in list. 3. In the Macros in list, click the template (template: A file or files that contain the structure and tools for shaping such elements as the style and page layout of finished files. For example, Word templates can shape a single document, and FrontPage templates can shape an entire Web site.) or document in which you want to store the macro. To make your macro available in all documents, be sure to click Normal.dotm. 4. Click Create to open the Visual Basic Editor. 5
Turn on change tracking On the Review tab, in the Tracking group, click the Track Changes image. To add a track changes indicator to the status bar, right-click the status bar and click Track Changes. Click the Track Changes indicator on the status bar to turn Track Changes on or off. NOTE If the Track Changes command is unavailable, you might have to turn off document protection. On the Review tab, in the Protect group, click Protect Document, and then click Stop Protection at the bottom of the Protect Document task pane. (You might need to know the document password.) Turn off change tracking When you turn off change tracking, you can revise the document without marking what has changed. Turning off the Track Changes feature does not remove any changes that have already been tracked. IMPORTANT To remove tracked changes, use the Accept and Reject commands on the Review tab in the Changes group. On the Review tab, in the Tracking group, click the Track Changes image. 6
To add a track changes indicator to the status bar, right-click the status bar and click Track Changes. Click the Track Changes indicator on the status bar to turn track changes on or off. Track changes while you edit You can easily make and view tracked changes and comments while you work in a document. By default, Microsoft Office Word 2007 uses balloons to display deletions, comments, formatting changes, and content that has moved. If you want to see all of your changes inline, you can change settings so that tracked changes and comments display the way you want. Balloons show formatting changes, comments, and deletions. Review tracked changes and comments To prevent you from inadvertently distributing documents that contain tracked changes and comments, Word displays tracked changes and 7
comments by default. Final Showing Markup is the default option in the Display for Review box. In Microsoft Office Word, you can track each insertion, deletion, move, formatting change, or comment that you make so that you can review all of the changes later. The Reviewing Pane displays all of the changes that currently appear in your document, the total number of changes, and the number of changes of each type. As you review tracked changes and comments, you can accept or reject each change. Until you accept or reject all tracked changes and comments in a document, even hidden changes will appear to viewers in documents you send or display. 8