Microsoft Visual Basic
Revision of VBA exercise
Relatively easy

This Microsoft Visual Basic REVISION OF VBA exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl ADVANCED VISUAL BASIC FOR APPLICATIONS course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: Holidays - looping over cells in Excel

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

1) Download the files needed to start this exercise: exercise-416.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Write a macro to loop over all of the cells in the range shown below called Countries, finding out the details of each holiday and listing them to the immediate window:
Exercise screen-shot 646 Your macro should loop over the 20 cells shown here
3) The output from your macro should look like this:
Exercise screen-shot 647 The result of running your macro
4) Save your workbook with the same name, then close it down.

Thank you for showing an interest in this Advanced Visual Basic for Applications 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..