Create and use automated macros in Word 2010
Many people may not know about the benefits of macros when running automatically in Word 2010. These are Word commands stored in a file and executed when used, like a small program. For example, if you create a lot of work document scripts, you can create a macro yourself.
A macro is a command that executes a job script. Creating a macro is the recording of a set of user processing operations (Record Macro) then saving as a set of commands and placing in a " MacroName ". The recorded language (representing work in macros) in MS Office is VB (not VB.NET). When you need to do the same job as you did, just run the MacroName (press ALT + F8 ) to redo a script. The macros automatically provide the words given by different circumstances, listed by name, which are:
- AutoNew - When you create a new document
- Autoclose - Whenever you close a document
- AutoExec - Whenever you start Word
- AutoExit - Whenever you exit Word
- AutoOpen - Whenever you open a new document
To use macros, you must first create them and they are created the same way as any other macro in Word, by recording the actions you want to make the macro.
To start, click the View tab on the main interface of Word 2010, Then, click the Macros section drop-down button on the right.
Click the Record Macro item to start creating your macro.
Before you can start, in the Record interface Macro you name the Macro automatically at the Macro name entry. If you want your new macro to run whenever you create a new document, name it AutoNew and select the Hammer button in the Assign macro big box . This commands Word to assign macros to a button on the Quick Access Toolbar , because you can then run macros at other times.
Next, you will get the interface of Customize the Quick Access Toolbar . That's the interface that allows you to assign the macro you are creating, then double-click on Normal.NewMacros.AutoNew section of your macro to assign and click the Ok button.
Next you return to the Word document, the cursor will now look like a cassette tape, which means it will record your actions.
When you're done, press the drop-down button again in the original Macros section at the View tab again, select Stop Recording , to finish creating the macro.
Now, try again by clicking on the New Document icon (or File, New and Blank Document) to start a new document.
When Word opens the new document it will automatically run the macro, you will see the generated content will be formatted and the titles added in the item you created when setting up the macro.
In the same setting, you can use other automated macros to run automatically when you start, exit, or open a new document to make your work easier in Word.
You should read it
- How to create and use macros in Word
- The easiest way to Use Macros in Excel
- How to fix Office error 'The function you are attempting to run contains macros'
- MS Excel 2007 - Lesson 7: Create Macros in Excel 2007
- How to enable macros on Excel
- How to Use Macros in Excel
- How to automate Google Sheets with macros
- How to turn on and off macros in Microsoft Office 365
May be interested
- MS Excel 2003 - Lesson 8: Excel Macro - Automate complex tasksa macro is a program that includes commands and functions that are executed every time you need it. macros can automatically perform operations and reduce steps to complete regular tasks.
- Create a quick dot (……………) line in Microsoft Wordtipsmake.com will guide you how to create a 3-dot line in microsoft word 2016, word 2013, word 2010 and older word such as word 2007, 2003 quickly by using keyboard shortcuts.
- How to turn on and off macros in Microsoft Office 365when you have to do a task more than once, you can save time by using macros to automate the task. however, not all macros are created equal, some contain malicious code. here's how to enable (or disable) macros in microsoft office 365.
- How to turn on / off Macro in Wordmacros in word are a series of actions, commands that automatically perform tasks that users do not need to perform many times.
- Instructions for merging text in Word 2016 easilywhen working with multiple separate word files, combining them into a single document makes it easier to manage the content. compared to manually copying, word 2016 provides an automated tool that helps you do it quickly and accurately.
- How to create curved typefaces in Wordwhen creating a winding typeface on word, it will make the content more interesting.
- How to create Resume in Microsoft Wordresume is like a successful ticket to help you achieve your dream jobs. so how does your resume stand out among other resumes?
- How to create name tags in Wordin word there are many options for you to design your document as you like, such as creating a cover page in word, creating a business card in word or creating a name tag in word.
- How to enable macros on Excelthe following article will guide you how to enable macros in excel 2007, 2010, 2013 and 2016.
- How to create tables in Word on computershow to create a table in word will help you easily list and summarize data in documents. this is one of the basic word skills that everyone needs to know, so you should master how to create word tables to start getting acquainted with this software.