Microsoft Excel
Revision exercises exercise
Harder than average exercise

This Microsoft Excel REVISION EXERCISES 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: Hangman

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

1) Download the files needed to start this exercise: exercise-139.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Write a macro which takes you through a game of hangman:
Exercise screen-shot 372 The picture will be uncovered if you don't guess the letters quickly enough!
3) Here are some thoughts on how this could work:
  • The hidden word has white font - so when you uncover a letter, just change the font colour of the relevant cell to black
  • You will need to begin by writing an initialisation routine to make the gallows invisible (it's made up of a collection of Shapes, each of which has a Visible property)
4) Enjoy the challenge!

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.