Skip Ribbon Commands
Skip to main content

Using Macros for regional languages

Macros are the very useful tool to any everyday MS-Office Users. Though creating and using macros are said to be a advanced word processing, the fact is understanding macros is worthy. If one understood macro, his everyday work might be made easy. Even it can reduce the working time also. Now let us see a small example to change the font to Unicode font to type in Tamil by single mouse click. By creating this macro, we can just reduce the number of clicks. But this is not important; purpose of this article is to understanding macro concept.

The procedure to create a macro with a button in tool bar involves virtually two parts:
Creating button in the tool bar and assigning macro. In fact, these two parts are integrated one to another. Now let us first see the ways of creating macros, later on we will see how to create a tool bar button.

          Open a new Word document

          From the menu bar, click on Tools

          From the drop down menu click on Macro

          A sub menu appears

          Click on Record New Macro

After clicking Record new Macro, we can get a new dialog box as shown below,
In this dialog box we have four regions to know. First one is Macro Name which indicates the name for Macro. Next is Assign macro to which assigns keyboard or toolbar have the macro. Then Store macro in option which stores the created macro in Normal.dot file or only the document you're working on.. (macros stored in normal.dot can be used any word document. Because this is the basic template for all Microsoft Word documents). Last is Description which have the details of the macro like date, created by are stored here. We can change these details as per our desire.

Now let us complete the fields to create our macro. First we shall name the macro as UnicodeDocument. See we dont use any space between Unicode and Document, this is because macros dont allows spaces between names. Secondly Macro assigning, for the time being we can skip this area as we will come to this later. Macro Storing is the next area to concentrate, we can save anywhere but if you want to use the macro created; say globally, then you have to save it in Normal.dot. Description of the Macros can be given as desired as this is only the information about the creator and about the macro.

As we are intended to open a new document with Tamil unicode font selected default, the dialog box with completed details will look like this.
Now all set, now we have to record the macro; this is initiated when we click 'ok' on the dialog box, a new kind of pointer and recorder tool bar as below.
mouse pointer with tape shows that macro is being recorded. Now whatever we do in the word application will be added to the macro being recorded. So let us start adding...

          Click File -> New

          Click Format -> Font on the newly opened Document        

          Then select any Tamil Unicode Font (Latha, Aavarangal...) from the list

          Click the Stop button on your floating Macro Recorder

          The macro will stop recording, and the process is finished: we have recorded the macro


If any error occurred while recording stop the process by clicking stop button of recorder toolbar, start the process from recording new macro, and name the new macro as the wrong one.

How to use?
When you are intending to type in a new document in Unicode just select Tools -> Macro -> Macro then select run macro in the dialog box popping up. By clicking that, we can get a new document opening with selected Unicode Font. Now you can start typing Unicode.

Now let us see how to create icon on the tool bar,

First, we are starting naming and other details of a macro; on the process we are skipped, areas called assign macro to. Now we are going to see how create a button using this

When you click tool bar icon on the dialog box. you get another dialog box titled customize. On that, click commands tab

  • Click on your macro Normal.NewMacros.Macro1 with your left mouse button
  • Keep your left mouse button held down
  • Drag your mouse upwards

When you let go of your mouse, your toolbar will look like this:
That's your macro right there! Or rather, it is the button for your macro. When this button is clicked, it will run your macro.
 

We can format the Button.

          Click on your new button with your Right mouse button

          a menu appears

          move your mouse down to Change Button Image


a sub menu appears with lots of little pictures on it. Like the one below:

          Click on any of the pictures with you left mouse button

          The menu closes and the picture appears on your button


Hope this tells something about Macros. Now learn how to make macros and implement all these in your everyday work. Macros can do wonders when properly implemented and it is a notable fact that many viruses are also developed and spread. So always, pay attention when you are about to use the macros that are created by others.

This site uses Unicode and Open Type fonts for Indic Languages. Powered by Microsoft SharePoint 2013.
©2016 Microsoft Corporation. All rights reserved.