Measure ad performance. Select basic ads. Create a personalised ads profile. Select personalised ads. Apply market research to generate audience insights. Measure content performance. Develop and improve products. List of Partners vendors. James Marshall. James Marshall is a pro journalist who covers technology and computer troubleshooting. He is also skilled with Microsoft Word, Apple Pages, and other word processors. Updated on December 04, Ryan Perian.
Lifewire Technology Review Board Member. Article reviewed on Jul 18, Tweet Share Email. In This Article. Why Use a Macro. Step-by-Step: Create a Macro. Plan for Effective Word Macros. Record the Macro. Test the Macro. Create Keyboard Shortcuts for Macros. To use the shortcut key only in the current document, select the document name from the list.
Was this page helpful? Company Questions. Artificial Intelligence. Cloud Computing. Data Science. Angular 7. Machine Learning. Data Structures. Operating System. Computer Network. Compiler Design. Computer Organization. Discrete Mathematics. Ethical Hacking. Computer Graphics. Software Engineering. Web Technology. Cyber Security. C Programming. Control System. Data Mining. Data Warehouse. With your insertion point in the Press new shortcut key text box, press the keyboard combination that you want to use to execute the macro NOTE: The shortcut will be displayed in the text box.
If there is an action currently associated with the shortcut, it appears below the Current keys scroll list. If you do not want to override the shortcut's original function, delete the shortcut from the text box and press another combination.
If your macro will be used frequently, you may choose to assign it to a button available on the Quick Access toolbar. From the Customize Quick Access Toolbar pull-down list, select whether you would like this button to appear in all documents or only the current document NOTE: If you choose to modify the toolbar in only the current document, the options available in all documents will disappear from the list of current toolbar commands.
They will still appear on the toolbar, however. Recording of your macro has begun. Was this article helpful? Yes No. This article is based on legacy software.
Macro Tips As you are creating a macro, you will be requested to assign a name to the macro and to indicate where it will be stored. After you open the Visual Basic Editor, you may want more information about working with Visual Basic for Applications. You can record a sequence of actions, or you can write a macro from scratch by entering Visual Basic for Applications code in the Visual Basic Editor. Note: To work with macros in Office Word , you need to show the Developer tab.
On the Developer tab, in the Code group, click Record Macro. Note: If you give a new macro the same name as a built-in macro in Office Word , 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. In the Store macro in box, click the template or document in which you want to store the macro.
Important: To make your macro available in all documents, be sure to click Normal. 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:.
Under Customize Quick Access Toolbar , select the document or all documents for which you want to add the macro to the Quick Access Toolbar. Under Choose commands from dialog box, click the macro that you are recording, and then click Add. 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:. In the Press new shortcut key box, type the key sequence that you want, and then click Assign. 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 Select text. To stop recording your actions, click Stop Recording in the Code group.
In the Press new shortcut key box, type the key combination that you want to choose.
0コメント