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-967.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) | Record 4 macros to work as follows:
|
||
| 4) | Test your macros out by starting in cell B2 and pressing the appropriate sequence of keys: | ||
The first sequence of keys is:CTRL + SHIFT + D
|
|||
| 5) | Now record a fifth macro called Cheat, which takes you straight to the cell containing the gold, regardless of your current starting position. | ||
|
|||
| 6) | Add some buttons to your workbook to make these macros easier to run: | ||
The buttons do not have to be perfectly aligned.
|
|||
| 7) | Save your amended workbook as Maze with Macros & 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