|
GNVQ ICT - Intermediate Unit 3 - Hardware and Software
|
|
Hyperlinks: On this level:
On the level below:
|
Creating a macro in Microsoft Word is easy! Follow this step by step guide.......... 1. Start Microsoft Word. Carry out whatever initial work you need to do in a new document. When you are ready to start recording the macro go to step 2 below..... 2. Click "Tools".... "Macro".... "Record New Macro"
3. Name the macro - NOTE: You must NOT use spaces in a macro name. In the one shown (Home_Address) the underscore character "_" is used instead of a space.
4. Click OK and a small "Macro control toolbar" will appear on the screen. Use this toolbar to pause and/or stop the macro recording.
5. When you record your macro some code is automatically created - this is a programming language called "Visual Basic" and is used by computer programmers to create all sorts of different types of software applications. To view your code just click "Tools".... "Macro".... "Macros".... then select the name of the macro you have recorded and click the EDIT button in the dialogue box.
6. You can now print your macro code - or make changes to it. For example if you did something during the recording of the macro that was wrong you can delete the line of code. 7. To run the macro you can either repeat the first part of step 5 shown above - and click the "RUN" button in the above dialogue box - or you can add the macro to a button on a toolbar or as an extra item in a menu. To create a button on a toolbar you click "Tools".... "Customise".... and in the categories list scroll down to "Macros" - see below
8. Find the macro in the list of "Commands" - the one we have created is called "Normal.NewMacros.Home_Address" Then drag this item up to the toolbar and drop it into the position you want. The toolbar should look something like this:
9. You may want to customise this button more - for example using an icon and a much shorter name in the toolbar. 10. To do this you need to right click on the macro button on the toolbar and select "Customise" - then delete the "Name" given in the dialog (or rename it to something shorter - we have changed it to simply "Home Address" here) and click the "Change Button Image" menu option and select a suitable icon - here we have used a red diamond.
11. Finally your macro can now be run by a single click on the diamond in the toolbar. What is very useful about using a macro is that any time you want to insert your home address into any document in Microsoft Word - all you have to do is click the red diamond.........Clever eh?!
|
|
© Hyde Technology School - Non-commercial use by other educational establishments is welcome. Please email your comments to mail@ictgnvq.org.uk Created by K C Parry - Please email your comments to kcparry@ictgnvq.org.uk |