Create New MS Word Macro to Format Document

MS Word, as a text editor has incorporated many useful features to make users’ experience extremely convenient. One useful feature that MS Word has is the Macros. Macros is a small embedded program that record user actions, customizations, and settings and saves them for any further use. This saved data is called a Macro and it can be recalled by the users using any shortcut key wherever required.

Although the Macros as a feature is very useful, it is not used by many MS Word users because of its tricky configuration. If you are willing to create a Macros of your own, you will have to follow these steps carefully:

    ■Initialize MS Word application from Start menu, Open a new blank document.

    ■From the opened interface, go to the VIEW tab.

    ■From the displayed options in the ribbon, from the Macros section, click the down facing arrow under Macros.

    WnB3t6n.jpg


    ■From the displayed list, click Macros.

    ■On the opened Record Macro box, under the Assign macro to section, click the Keyboard button.

    ygJVgIn.jpg


    ■On the opened Customize Keyboard box, left-click in the Press new shortcut key field.

    ■Once clicked, press any key combination (in a set of two or three) to assign them as the shortcut keys to the new macro.

    ■Once this is done, click Assign to complete the assigning process.

    ■Finally click Close to close the opened box, start the macro recording.

    QNwHgzM.jpg


    ■Once the recording starts, you can set fonts, size, color, margin, header, etc. in the opened document.

    ■Once you are done with the recording, follow the steps from 2 to 4 while clicking Stop Recording when on step 4.

    f6L9Me4.jpg


    ■Press the assigned short keys to run the created macro and apply the recorded settings to the opened document.

Here everything you did while recording the macro is actually some lines of executable statements that are saved in the Macros. When you press the shortcut keys that are assigned to the macro, the macro executes the set of statements, hence finally applying the recorded setting on the document.
 
Status
Not open for further replies.
Status
Not open for further replies.