Practical Exercise 1.3.2.3: Objectives

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

PRACTICAL EXERCISE 1.3.2.

3
OBJECTIVES
Create a macro. Assign a macro to a custom button on a toolbar. Perform addition calculations on a numeric list in a table.

INSTRUCTIONS
1. Start 2. Open the Word program. the document called INVOICE.

3. Delete the following records from the top three rows of the Invoice: ITEM Wall Clock Kitchen Table Kitchen Chairs STOCK CODE QTY 256/1712 4 610/8951 2 600/2480 3 PRICE 56.99 34.99 29.99

4. Delete ALL the calculated values in the TOTAL column. 5. Create a macro to enter the Item details and Stock Code into a table. CREATING A MACRO - S256_1712 Place the cursor in the first row of the ITEM column under Order Details Select the View tab, select Macros and Record Macro, type the Macro name S256_1712, and click OK to start Type Wall Clock in the cell, press the Tab type 256/1712 as the Stock Code, press the Tab type 1 as the default Qty, press the Tab 56.99 as the Price Select Macros key, then key,

key, type

and Stop Recording the macro

www.itq2009.co.uk

65

CREATING A MACRO - S610_8951 Place the cursor in the second row of the ITEM column under Order Details Select the View tab, select Macros and Record Macro, type the Macro name S610_8951, and click OK to start Type Kitchen Table in the cell, press the Tab type 610/8951 as the Stock Code, press the Tab type 1 as the default Qty, press the Tab 34.99 as the Price key, then key,

key, type

PROBLEMS SAVING MACROS Macros can NOT be saved on a system where the Normal template file is write protected. Networked systems often do this for security reasons. If your system is protected you will be able to do this exercise but not save the macros for future use.

Select Macros and Stop Recording the macro CREATING A MACRO - S600_2480 Place the cursor in the third row of the ITEM column under Order Details Select the View tab, select Macros and Record Macro, type the Macro name S600_2480, and click OK to start Type Kitchen Chairs in the cell, press the Tab type 600/2480 as the Stock Code, press the Tab type 1 as the default Qty, press the Tab 29.99 as the Price key, then key,

key, type

Select Macros and Stop Recording the macro N.B. Macros could be recorded for all items sold by the company. 6. Delete the following records from the top three rows of the Invoice: ITEM Wall Clock Kitchen Table Kitchen Chairs 7. Save STOCK CODE QTY 256/1712 1 610/8951 1 600/2480 1 PRICE 56.99 34.99 29.99

the changes made to the document.

66

www.itq2009.co.uk

8. Add the macros created to the Quick Access Toolbar this is located next to the Microsoft Office Button in the top left corner of your screen. ADDING MACROS TO THE QUICK ACCESS TOOLBAR Select the Microsoft Office Button , select Word Options, choose the Customize category, select to Choose commands from Macros Highlight the Normal.NewMacros. S256_1712 macro and Add it onto the Quick Access Toolbar Highlight the Normal.NewMacros. S610_8951 macro and and Add it onto the Quick Access Toolbar Highlight the Normal.NewMacros. S600_2480 macro and and Add it onto the Quick Access Toolbar Click OK to close the Word Options Customize window 9. Use the macros created above to generate an Invoice with the default value 1 as the Qty sold. RUNNING A MACRO - S256_1712 Place the cursor in the first row of the ITEM column under Order Details Click the Macro S256_1712 on the Quick Access Toolbar RUNNING A MACRO - S610_8951 Place the cursor in the second row of the ITEM column under Order Details Click the Macro S610_8951 on the Quick Access Toolbar RUNNING A MACRO - S600_2480 Place the cursor in the third row of the ITEM column under Order Details Click the Macro S600_2480 on the Quick Access Toolbar 10. Enter the following values as the Qty in the top three rows of the Invoice: ITEM Wall Clock Kitchen Table Kitchen Chairs STOCK CODE QTY 256/1712 4 610/8951 2 600/2480 3 PRICE 56.99 34.99 29.99

www.itq2009.co.uk

67

11. Use the formulae functions in Word to calculate the Totals for the three sets of goods on the Invoice. FINDING THE PRODUCT OF TWO VALUES Select the Layout tab on the ribbon Place the cursor in the TOTAL cell for the Wall Clock Select Formula , enter a Formula =PRODUCT(LEFT), choose the Number format 0.00, then click OK N.B. The amount 227.96 should be displayed. Place the cursor in the TOTAL cell for the Kitchen Table Select Formula , enter a Formula =PRODUCT(LEFT), choose the Number format 0.00, then click OK N.B. The amount 69.98 should be displayed. Place the cursor in the TOTAL cell for the Kitchen Chairs Select Formula , enter a Formula =PRODUCT(LEFT), choose the Number format 0.00, then click OK N.B. The amount 89.97 should be displayed. 12. Enter the amount 10.00 in the TOTAL cell for Plus p&p per order. 13. Use the formulae functions in Word to calculate the Total order value for the Invoice. Select the Layout tab on the ribbon Place the cursor in the Total order value cell for Total Select Formula , enter the Formula =SUM(e:e), choose the Number format 0.00, then click OK N.B. e:e represents all the cells above the current one in column E. The columns being A, B, C, etc. The total shown should be 397.91. 14. Save the changes made to the document.

15. Select the Microsoft Office Button screen. 16. Select the Microsoft Office Button

and click Close

to clear the

and then Exit Word.

68

www.itq2009.co.uk

INVOICE
Your Order No: Date: Ref: Invoice No: Date: Ref:

To:

From: The Furniture Company 190/196 The High Street Willesden London NW10 3XD

ORDER DETAILS:
ITEM Wall Clock Kitchen Table Kitchen Chairs STOCK CODE 256/1712 610/8951 600/2480 QTY 4 2 3 PRICE 56.99 34.99 29.99 TOTAL 227.96 69.98 89.97

Plus p&p per order Total order value

10.00

397.91

www.itq2009.co.uk

69

You might also like