Chapter 12. Working with Collections and the System.Collections Namespace

After completing this chapter, you will be able to:

  • Manipulate the Controls collection on a form.

  • Use a For Each…Next loop to cycle through objects in a collection.

  • Create your own collections for managing Web site URLs and other information.

  • Use VBA collections within Office.

In this chapter, you'll learn how to use groups of objects called collections in a Microsoft Visual Basic program. You'll learn how to manage information with collections, process collection objects by using For Each…Next loops, and explore new objects within the System.Collections namespace. When you combine collection-processing skills with what you learned about arrays in Chapter 11, Chapter 11, you'll ...

Get Microsoft® Visual Basic® 2008 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.