Visual Basic for Applications
Selecting cells exercise
Harder than average exercise

This Visual Basic for Applications SELECTING CELLS 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: Selecting range in teletubbies nearly to top

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

1) Download the files needed to start this exercise: exercise-119.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Write a macro to select the cell B8 (ie the cell containing the word Po).
3) Now extend this macro so that you select the range from this cell upwards to the top of the list, but excluding the title row:
Exercise screen-shot 169 The titles row isn't included
Training exercise hint To do this, extend to the top of the block and then offset one row down from there.
4) Save your file with the same name, then 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.