|
| 1. Introducing Visual Basic for Applications (VBA) |
|
| Introducing object-oriented programming |
01:53 |
| Examining the Excel object model |
04:32 |
| Working in the Visual Basic editor |
04:34 |
| Setting VBA project properties |
02:33 |
| Creating, exporting, and deleting code modules |
06:48 |
| Creating a subroutine or function |
06:02 |
| Controlling procedure scope and visibility |
03:12 |
| Adding comments to the code |
03:43 |
| Running a VBA routine |
03:50 |
| Adding code to a recorded macro |
02:41 |
|
| 2. Defining Variables, Constants, and Calculations |
|
| Introducing Excel VBA data types |
06:07 |
| Declaring variables and requiring declaration before use |
04:22 |
| Managing variable scope |
03:33 |
| Defining static variables and constants |
04:52 |
| Creating a calculation using mathematical operators |
03:33 |
| Defining arrays |
07:16 |
| Defining and using object variables |
02:58 |
| Streamlining code references using With...End With statements |
03:12 |
|
| 3. Adding Logic to Your VBA Code |
|
| Repeating a task using a For...Next loop |
02:35 |
| Stepping through all items of a collection using a For...Each loop |
03:11 |
| Repeating a task with a Do loop |
05:24 |
| Performing a task when conditions are met using If...Then |
07:40 |
| Selecting which action to take using a Case statement |
01:53 |
|
| 4. Debugging Your VBA Code |
|
| Managing errors using On Error statements |
05:02 |
| Stepping through a subroutine or function |
05:23 |
| Setting breakpoints in the code |
02:36 |