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

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.

主站蜘蛛池模板: 霸州市| 邢台县| 马尔康县| 通州市| 禄丰县| 长丰县| 攀枝花市| 黄浦区| 临潭县| 新泰市| 新民市| 长兴县| 淮安市| 虞城县| 新邵县| 宜昌市| 潢川县| 泌阳县| 嘉禾县| 阿坝县| 晋宁县| 高邑县| 共和县| 石泉县| 千阳县| 武胜县| 徐闻县| 太康县| 顺昌县| 江西省| 开鲁县| 荥经县| 南城县| 阿克| 罗江县| 平和县| 时尚| 福贡县| 诸暨市| 隆昌县| 阜宁县|