Microsoft Excel 2007
Recording macros and buttons exercise
Average difficulty

This Microsoft Excel 2007 RECORDING MACROS AND BUTTONS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl EXCEL 2007 VISUAL BASIC course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: My House - Recording Absolute Macros

A full answer to this exercise is provided as part of the training course!

1) Download the files needed to start this exercise: exercise-970.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Open the file found in the folder above.
3) There are already some macros in this file which will change the colours of various sections of the picture, test them out.
Exercise screen-shot 2300 It is a child's drawing of a house!
4) Record two more macros which will do the following actions:
  • Change the colour of the door to green.
  • Change the colour of the roof to red.
Training exercise hint There are range names in this file to help make the selection of the areas easy.
5) Add two new buttons to the table to run these new macros.
6) If you have time you could record a macro which changes the colour of more than one area to create a 'Day' effect and also a 'Night' effect.
7) Save the amended file as My House - Decorating and close it down.

Thank you for showing an interest in this Excel 2007 Visual Basic training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

All content copyright Wise Owl Business Solutions Ltd 2008.  All rights reserved..