Microsoft Developer
Selecting cells exercise
Relatively easy

This Microsoft Developer 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 submarine in battleships

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

1) Download the files needed to start this exercise: exercise-116.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Welcome to the Wise Owl version of battleships!  First write a macro which selects the start cell in the middle of the grid (ie cell E5):
Exercise screen-shot 164 The start cell shown selected
3) Now add a line to your macro so that it selects the submarine shown, by moving the appropriate number of rows down and columns to the right using Offset:
Exercise screen-shot 165 This is what should be shown after running your macro
4) Save and close down the 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 � Wise Owl Business Solutions Ltd 2007.  All rights reserved.  Design by Branches.