- 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.
推薦閱讀
- HTML5 移動Web開發(fā)從入門到精通(微課精編版)
- 算法精粹:經(jīng)典計算機科學問題的Python實現(xiàn)
- Python零基礎快樂學習之旅(K12實戰(zhàn)訓練)
- 用Python實現(xiàn)深度學習框架
- 零基礎入門學習Python
- Hands-On Full Stack Development with Go
- Windows Phone 7.5:Building Location-aware Applications
- Creating Stunning Dashboards with QlikView
- Learning Node.js for .NET Developers
- OpenCV with Python Blueprints
- Node.js從入門到精通
- Java EE 7 with GlassFish 4 Application Server
- SQL Server on Linux
- Visual Basic程序設計
- 面向?qū)ο蟪绦蛟O計及C++實驗指導(第3版)