Oreilly - Excel 2007 VBA Macro Development
by Tim Miles | Released November 2012 | ISBN: 00022CWORKS
This course introduces you to Excel macro programming using Microsoft's Visual Basic for Application (VBA). The overall focus of this course is to teach you proper Visual Basic programming techniques along with an understanding of Excel's object structure. Other topics in this course include; recording macros, programming basics, proper variable declaration, Visual Basic functions, control structure use, looping, and Userform creation. The final section deals with the debugging tools included in the Microsoft VBA editor and methods on how to effectively use them. Show and hide more
- Introduction
- Understanding the Excel Object Model
- Understanding Objects 00:01:51
- Referencing Workbooks, Worksheets, and Cells 00:03:07
- Creating Recorded Macros
- Displaying the Developer Tab 00:02:10
- Setting Macro Trust within Excel 00:01:59
- Recording a Macro 00:06:40
- Running a Macro 00:00:40
- Editing a Macro with the Visual Basic Editor 00:03:03
- Understanding the Visual Basic Editor
- Examining the VBA Editor Menu and Toolbar 00:09:44
- Setting VBA Editor Options 00:08:52
- Reviewing the Project Explorer 00:01:15
- Reviewing the Properties Window 00:03:05
- Understanding the Object and Procedure drop-down lists 00:01:17
- Viewing the Immediate Window 00:02:36
- Viewing the Object Browser 00:05:36
- Understanding Programming Basics
- Understanding Functions and Procedures 00:05:54
- Dimensioning Variables 00:12:27
- Understanding Object Variables 00:05:10
- Understanding Variables and Scope 00:05:45
- Commenting your Code 00:04:53
- Creating Constants 00:04:28
- Manipulating Data 00:06:33
- Understanding Procedure Arguments 00:09:43
- Using Visual Basic Functions
- Using the InputBox() Function 00:11:23
- Understanding the MsgBox() Function 00:10:02
- Using String Functions 00:12:07
- Using Date Functions 00:11:08
- Working with Control Structures
- Using If/Then/Else 00:06:42
- Creating a Select/Case Statement 00:05:02
- Understanding Logical Operators 00:04:30
- Creating For/Next Loops 00:06:58
- Creating Do Loops 00:06:20
- Creating While/Wend Loops 00:05:01
- Creating UserForms
- Understanding UserForms 00:01:10
- Understanding Controls 00:11:28
- Setting Control Properties 00:01:06
- Referencing Controls in VBA Code 00:02:44
- Responding to Events 00:11:16
- Creating a function to open a UserForm 00:02:19
- Development Tips 00:02:59
- Debugging your Macros
- Understanding Logic Errors and Syntax Errors 00:04:23
- Running your Macro from the VBA Editor 00:01:01
- Setting Breakpoints 00:01:35
- Stepping Through Your Macro 00:03:44
- Creating Watches 00:06:58
- Adding Error Trapping 00:11:25
- Conclusion
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.