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

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.

主站蜘蛛池模板: 健康| 沛县| 马边| 习水县| 临城县| 鲜城| 沙湾县| 康保县| 铅山县| 黔西县| 丹江口市| 赤水市| 门源| 浑源县| 烟台市| 南开区| 肥乡县| 基隆市| 浦北县| 万年县| 安新县| 二连浩特市| 鸡西市| 寻甸| 东光县| 大化| 贡觉县| 四平市| 奉节县| 康保县| 五寨县| 吉安县| 同仁县| 漳平市| 商南县| 繁昌县| 武陟县| 凤庆县| 三江| 万全县| 海宁市|