Microsoft Excel
Looping over collections exercise
Average difficulty

This Microsoft Excel LOOPING OVER COLLECTIONS 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: Bottom teams looping

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

1) Download the files needed to start this exercise: exercise-131.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Create a macro which lists out the bottom teams in each division in the separate Bottom Teams worksheet.  This is what you should see when you run your macro:
Exercise screen-shot 181 The Bottom Teams worksheet contains all the bottom teams
3) To work, your macro should:
  • Go to each worksheet in turn
  • Go to the bottom team in this worksheet;
  • Store its name in a string variable;
  • Go to the bottom teams worksheet;
  • Transfer the variable's value into the current cell; then
  • Go down one cell
Training exercise hint You are strongly advised to write the algorithm you will use on a piece of paper before putting finger to keyboard!
4) Save the workbook with the same name and close it down.

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 � Wise Owl Business Solutions Ltd 2007.  All rights reserved.  Design by Branches.