官术网_书友最值得收藏!

Chapter 3: The VBA Object Model

VBA is essentially object driven. Excel, for example, provides dozens of objects that can be manipulated. This includes workbooks, worksheets, ranges, charts and images, and shapes. These objects are arranged in a hierarchical structure. If you want to do anything in VBA, understanding the VBA object model is essential. The recipes in this chapter will be your reference to understanding and working with objects in VBA.

In this chapter, we will cover the following recipes:

  • Understanding and identifying objects in VBA
  • Objects as a collection, and changing the attributes of the entire collection
  • Modifying object properties
  • Associating methods with objects
  • Using events to activate objects
  • Using the Object Browser in the VBA Editor

By the end of this chapter, you will be able to work with objects in VBA.

主站蜘蛛池模板: 建平县| 阳西县| 孝义市| 双鸭山市| 桐乡市| 新乐市| 安顺市| 大新县| 福州市| 玉龙| 阜康市| 福鼎市| 韩城市| 柘荣县| 旺苍县| 特克斯县| 武宁县| 广丰县| 甘洛县| 苍溪县| 鹤峰县| 贵州省| 胶南市| 大足县| 江北区| 盐边县| 海丰县| 双牌县| 东丽区| 徐水县| 泰兴市| 宿迁市| 彰化市| 荣昌县| 邵阳市| 班玛县| 华容县| 和林格尔县| 盐山县| 涡阳县| 镇坪县|