- 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.
推薦閱讀
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- Python for Secret Agents:Volume II
- PHP+MySQL網站開發技術項目式教程(第2版)
- 基于Java技術的Web應用開發
- 從程序員到架構師:大數據量、緩存、高并發、微服務、多團隊協同等核心場景實戰
- Git高手之路
- Nginx Essentials
- Learning OpenStack Networking(Neutron)(Second Edition)
- 時空數據建模及其應用
- Illustrator CS6設計與應用任務教程
- C++程序設計教程(第2版)
- Learning ECMAScript 6
- 微信小程序開發邊做邊學(微課視頻版)
- Visual C++實用教程
- Scratch 3.0少兒游戲趣味編程