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
- Edit Office Web Apps documents with MS Officeas you know, microsoft office web apps online service provides users with storage of up to 25gb of free storage through storage on skydrive.
- Turn off the message Send message without a subject in Outlook 2010in the tutorial below, we will show you how to turn off the 'do you want to send message message without a subject' message box of microsoft outlook 2010. first, open the outlook program, press alt + f11 to open it. microsoft visual basic window ...
- Display the full file path in the Quick Access toolbarin the following article, we will introduce some basic operations to display the full path of the document file in the quick access toolbar in the office 2010 product suite. as an example here, we will proceed apply with word 2010 software ...
- Instructions for opening and converting Microsoft Works file formatshow will you do if you have to use a microsoft works document (* .wps) while your computer does not install the microsoft office product suite?
- Convert PDF format to EPUB, MOBI or HTMLin the following article, we will introduce you some basic operations to convert pdf documents into epub, mobi or html ebook format, easy to use and compatible with kindle devices. specifically, we will use software called caliber and another popular online service - zamzar ...
- Sync data on computers and Google Docs accounts with SyncDocslooking for a quick, simple and easy way to bridge the gap between huge amounts of data on your google docs computers and accounts? in the following article, we will introduce you some of the main functions and usage of the tool syncdocs ...