Microsoft Visual Basic
Loops and conditions exercise
Average difficulty

This Microsoft Visual Basic LOOPS AND CONDITIONS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl EXCEL 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: Looping over maze till find gold

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

1) Download the files needed to start this exercise: exercise-125.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Write a macro to select the start cell (B2) and then follow the maze to its natural conclusion, by reading and carrying out the instructions in each cell. 
Exercise screen-shot 179 The macro starts with this cell selected
Training exercise hint You will find this much easier if you write down your algorithm in pseudo-code first.
3) Save and close down your workbook.

Thank you for showing an interest in this Excel 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..