- 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.
推薦閱讀
- Android Wearable Programming
- Learn to Create WordPress Themes by Building 5 Projects
- Hands-On Data Structures and Algorithms with JavaScript
- Python Data Structures and Algorithms
- JavaScript程序設計:基礎·PHP·XML
- C編程技巧:117個問題解決方案示例
- 區塊鏈架構之美:從比特幣、以太坊、超級賬本看區塊鏈架構設計
- 微信小程序開發邊做邊學(微課視頻版)
- Clojure編程樂趣
- Visual C++程序開發范例寶典
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南
- Ionic Framework By Example
- Unity 游戲案例開發大全
- Java程序員面試筆試真題庫
- Instant MongoDB