categories: Technology & Innovation
Level: General
Course Language: English
How to tackle more advanced topics in Excel VBA with ease after the solid foundation that you will gain after completing this course and hands-on exercises.
How to program with Excel VBA, deal with cells, worksheets, and others. Also, learning one programming language can help you learn other programming languages as well.
How to deal with the range object as it is one of the most important objects you will use. Also, you'll learn to repeat actions in Excel VBA using loops.
Free lessons
Recording vs Writing Redone
VBE Intro
Understanding Objects-redone
The Project Explorer
Understanding the VBA Syntax-redone
The Properties Window
Activating the Developer Tab
The Code Window
Recording a basic macro-redone
20191209 Immediate locals and watch windows
Absolute vs Relative mode in Recording-redone
Dealing with Modules
1. Introduction
Recording vs Writing Redone
Understanding Objects-redone
Understanding the VBA Syntax-redone
Activating the Developer Tab
Recording a basic macro-redone
Absolute vs Relative mode in Recording-redone
2. The Visual Basic Environment
VBE Intro
The Project Explorer
The Properties Window
The Code Window
20191209 Immediate locals and watch windows
Dealing with Modules
Comments
3. The Range Object
Introduction and Changing Cell Values
Adding a text to a cell
Dealing with Named Ranges
Value vs Text Properties
Row and Column properties
Select Method
Count Property
Address Property
Formula Property
Number Format Property
Font Property
4. The Cells Object
Cells Object Introduction
Effecting cells positionally within a range
Combining Range and cells objects
5. Worksheets
Selecting Sheets
Adding Sheets
Sheets vs Worksheets
Copying Sheets
Moving Sheets
Deleting Sheets
6. Variables
Variables Intro
Variable Data Type
Declaring Variables
Forcing Variable Declaration
Object Variables
Calling a procedure from another and variable scope
Public and Private variables
Declaring Constants
7. Dealing with Workbooks
referring to workbooks
Closing Workbooks
Adding and Saving workbooks Part 1- Save method
Adding and Saving Workbooks Part 2-Workbook Save As method
Opening Workbooks
8. Must Know Excel Logic
Finding the last row
Finding the Last Column
Finding the Next Row
With Statement
Comparison Operators in Excel VBA
Simple IF Statement
IF THEN ELSE Statement
IF THEN ELSEIF Structure
Using Nested IFs
OR AND Logical Operators
NOT Logical operator
If Statements -Exercise
Select case statement-Single case statements
Nested Case Statements
Case Statement -Exercise
GOTO and Labels
9. Loops
Loops Introduction
For Next loop
Exit for Statement
For Next Loop -Exercise
For each Loop Part 1
For each Loop Part 2
FOR EACH Loop-Exercise
Do Loop - Introduction
Do Loop -Simple Example
Do until with Example
Do While -Simple Example
Do While vs Do Until - Movies Example
Exit Do Statement
Do Loop -Exercise
10. Interacting with Users
Message box-Introduction
Message Box Inputs
Message box -Capturing User Input
Adding a new line to a VBA String
Message box -Exercise
Input Box - Introduction
Input Box - First Example -Capturing a user's Name
Input Box - Employee Database Example Part 1
Input Box - Employee Database Example Part 2
Input box-Exercise
11. Error Handling
Error Handling-Introduction
Different error types in action
On Error GoTo
On Error Goto 0
The Err Object
Setting a breakpoint
12. Events
Events - Introduction
Worksheet Selection Change Event
Worksheet activate Event
Worksheet De-activate event
Worksheet Before delete event
Worksheet Before Double Click Event
Worksheet Before Right-Click event
Worksheet Calculate Event
Enabling and Disabling events
Worksheet Change event
Follow Hyperlink Event
Worksheet events -Exercise
Workbook Open Event
Workbook Activate event
Workbook Before Save event
Workbook After Save event
Workbook Before Close event
Workbook Before print event
Workbook De-activate event
Workbook New Chart event
Workbook New sheet event
Workbook sheet calculate event
Workbook Sheet de-activate event
Workbook Follow Hyperlink event
Workbook Window Activate event
Workbook Window De-activate event
Workbook Window Resize event
Workbook Events-Exercise
VBA is worth learning nowadays as it's a coding language used by millions of people across the world. It's a language that has been around for decades and is one of the easiest coding languages to learn if you don't have a computer science background. VBA Macros are used to create custom user-generated functions and speed up manual tasks by creating automated processes. Additionally, you can use it to access the Windows Application Programming Interface (API). This course will help you learn about Excel VBA Macros from scratch and step by step.
You need to be at least an intermediate user of Excel who knows how to write formulas, draw charts, and use pivot tables.
Data Analytics Trainer and Consultant