This Microsoft Visual Basic 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.
A full answer to this exercise is provided as part of the training course!
| 1) | Download the files needed to start this exercise: exercise-968.zip (and click here if you experience any problems unzipping this file after downloading it). | ||
| 2) | Open the file found in the folder shown above. | ||
| 3) | Record a macro called AddBuilding, which will take new details from the Add In Template sheet and adds them to the bottom of the current list, using the following steps:
|
||
|
|||
| 4) | Test your macro is working by adding the following building details to the Add In Template sheet: | ||
There are lookups for the Building Type & Decade details.
|
|||
| 5) | If your macro is working correctly the bottom of your list should look like the below: | ||
JR Central is part of the existing list.
|
|||
| 6) | Once the macro is working add in an AutoShape button to the Add In Template sheet to run the macro in future. | ||
| 7) | Save your file as Tallest Buildings Updated 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.
Recommended sites: C# corner | Computer tutorials | Training classes