smartkillo.blogg.se

How to create a macro to highlight a word in word
How to create a macro to highlight a word in word












how to create a macro to highlight a word in word

how to create a macro to highlight a word in word

HOW TO CREATE A MACRO TO HIGHLIGHT A WORD IN WORD HOW TO

Your macro will be saved and you can now use it with any Word document.įor further instructions on how to use macros, see Macros for Editors, in which Paul Beverley offers detailed instructions for understanding and running macros in various versions of Word. Close Word’s VBA editor by going to File, Close and Return to Microsoft Word.Delete all the text that’s there (everything from Sub to End Sub) and paste your macro script into the VBA editor. It will show you where to paste your macro (look for the section that has the same name as the macro you just named). Copy the macro script and paste it into Word’s VBA.You will now be taken to Word’s VBA editor. Be sure your name has no spaces between words. Name your macro in the Macro name: box.Go to the View tab, and click on Macros in the Window area.You’ll find a list of writing macros you can try in the post Improve Your Writing With Macros, and the video below will show you how to add a macro to Word 2010: Insert a new module, and then add the following code example. Click on the Run button, as shown in the screenshot below. Select a Macro list that you want to run from the Macro name. A Macros dialog box will appear on the screen. Select the reference for Microsoft Visual Basic for Applications Extensibility. Go to View -> Macros and select View Macros from the drop-down menu.

how to create a macro to highlight a word in word

Some word processing programs, like Microsoft Word, can handle macros. Press Alt+F11 to go to the Visual Basic Editor. You can also use macros for formatting and editing tasks. Macros can help you to identify areas in your writing that need improving.














How to create a macro to highlight a word in word