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.
A full answer to this exercise is provided as part of the training course!
| 1) | Create a new workbook, and save this as Lots of bobs.xls. The workbook should automatically have 3 worksheets in, but if it doesn't, add some. | ||
| 2) | Write a macro which renames the worksheets to Bob1, Bob2 and Bob3. Your macro should initially:
|
||
| 3) | Your macro should then loop over all of the worksheets, for each:
|
||
|
|||
| 4) | Save the file 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.
Recommended sites: C# corner | Computer tutorials | Training classes