Example of Object-Oriented Programming Using Excel
6
Why VBA?
7
VBA vs Macros
8
Adding the Developer Tab to the Ribbon
9
Filling in the Record Macro Dialog
10
Recording Macros
11
Testing Macros
12
Exploring VBE
13
Viewing VBE Options and Reviewing Macro Code
14
Editing Macro Code and Using Project Explorer and Properties
15
Adding Useful Commands to the Toolbar
16
Saving Macro-Enabled Workbooks
17
Testing Edited Macros
18
Reviewing and Changing Security Settings
19
VBA Basics Recap
20
Excel Object Model Hierarchy and Collections
21
Referencing Objects and Simplifying Object References
22
Introduction to Modules and Procedures
23
Understanding Modules
24
Understanding Procedures
25
Recording More Macros
26
Creating Sub-Procedures from the Menu in VBE
27
Reviewing New Code and Editing Existing Code
28
Creating Calling Procedures
29
Testing Calling Procedures
30
Creating Event Procedures
31
Creating Function Procedures
32
Reviewing and Testing Function Procedures
33
Getting Context Sensitive Help in VBE
34
Modules and Procedures Recap
35
Conclusion
Description:
Dive into a comprehensive beginner tutorial on Excel 2021 VBA, designed for Business Analysts, Data Scientists, and Excel users seeking to automate tasks and expand their capabilities. Learn the fundamentals of Visual Basic for Applications, starting with an overview of its advantages over traditional macro recording. Record and edit macros, explore the Visual Basic editor environment, and understand key terminology. Discover the Excel Object Model, collections, and object referencing techniques. Master different types of procedures, their scope, and working with methods. Delve into VBA language elements, including variables, data types, and intrinsic functions. Explore control-of-flow structures, create forms, and program controls. Learn to create Pivot Tables programmatically and handle code errors through debugging. By the end of this 1-hour 48-minute tutorial, gain the skills to write custom VBA code, modify recorded macros, and enhance your daily Excel tasks with increased efficiency.
Read more