- VBA Automation for Excel 2019 Cookbook
- Mike Van Niekerk
- 135字
- 2021-06-11 18:16:32
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.
推薦閱讀
- 黑客攻防從入門到精通(實戰秘笈版)
- Facebook Application Development with Graph API Cookbook
- JavaScript從入門到精通(微視頻精編版)
- Python從菜鳥到高手(第2版)
- Apache Mesos Essentials
- Spring Boot+Vue全棧開發實戰
- Android移動開發案例教程:基于Android Studio開發環境
- Machine Learning for Developers
- 大學計算機基礎實訓教程
- Python全棧開發:基礎入門
- DevOps 精要:業務視角
- LabVIEW入門與實戰開發100例(第4版)
- Learning PrimeFaces Extensions Development
- Effective Python:編寫高質量Python代碼的90個有效方法(原書第2版)
- 編譯原理學習與實踐指導