651-905-3729 Microsoft Silver Learning Partner EC Counsel Reseller compTIA Authorized Partner

VBA with Microsoft Excel

1 Day

Description

VBA (Visual Basic for Applications) enables you to enhance and extend the capabilities of Microsoft Excel and other applications in the Microsoft 365 application suite. You can use VBA to perform tasks that would be difficult or impossible to do using only worksheet functions, and you can automate a wide range of tasks so they can be performed faster, more consistently, and with less effort than performing them manually. This course will give you a good foundation for understanding, creating, and using VBA in your own Excel workbooks. You will learn how to use the macro recorder effectively, as well as how to write your own VBA code from scratch. You will use tools built into Excel to explore and learn VBA's capabilities and to optimize and debug your code.

Course Objectives

  • Identify general components of VBA and their appropriate use in solving business solutions.
  • Record VBA macros to automate repetitive tasks.
  • Write VBA code to create VBA subroutines and functions.
  • Use various programming elements to solve problems through code, including variables,objects, conditional statements, and loops.
  • Eliminate, avoid, or handle errors in VBA code, and optimize its performance.

Who Should Attend?

This course is primarily designed for students who want to gain the skills necessary to use VBA to automate tasks in Excel such as collecting data from external sources, cleaning, and manipulating data. The target student may also want to learn how to create custom worksheet functions to streamline worksheet formulas and make complex worksheets easier to support, maintain, and understand.

Upcoming Classes

Virtual Classroom Live
April 22, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 17, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

1. Using VBA to Solve Business Problems

Use Macros to Automate Tasks in Excel
Identify Components of Macro-Enabled Workbooks
​Configure the Excel VBA Environment

2. Recording a Macro

Use the Macro Recorder to Create a VBA Macro
Record a Macro with Relative Addressing
Delete Macros and Modules
​Identify Strategies for Using the Macro Recorder

3. Writing VBA Code Directly

Write VBA Code
Discover Objects You Can Use
Create a Custom Function

4. Solving Problems through Code

Make Decisions in Code
Work with Variables
Perform Repetitive Tasks

5. Improving Your VBA Code

Debug VBA Errors
Deal with Errors
​Improve Macro Performance

6. Controlling How and When Macros Run

Prompt the User for Information
​Configure Macros to Run Automatically

Upcoming Classes

Virtual Classroom Live
April 22, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 17, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

To ensure your success in this course, you should be an experienced Excel user who is comfortable creating and working with Excel workbooks, including tasks such as entering worksheet formulas, using absolute and relative addressing, formatting cells, and creating pivot tables and charts. This level of skill could be acquired by taking the Microsoft Excel for Office 365 (Desktop or Online) courses, Parts 1, 2, and 3.

Upcoming Classes

Virtual Classroom Live
April 22, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 17, 2026

$650.00
  Featured Class 1 Day    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date