Microsoft

Programming and Data Wrangling with VBA and Excel ISI-1597

Not sure this is the right class? Read What Microsoft Excel Class Should I Take?

  • 3 days
  • 1 upcoming date
  • $1,695 per seat

Upcoming dates

Dates Where Status Seat Book
Jan 13–15 2027 Live Online 9:00 AM to 4:00 PM PT Scheduled $1,695

See every class on the schedule

About this class

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 involving the collection, processing, analysis, and visualization of data. This course will give you a good foundation for understanding, creating, and using VBA in your own Excel workbooks, show you how to work with data across different applications, and how to package the macros and functions you create so you can back them up, move them to other computers, and share them with other users.

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.

What you'll be able to do

  • 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 involving the collection, processing, analysis, and visualization of data. This course will give you a good foundation for understanding, creating, and using VBA in your own Excel workbooks, show you how to work with data across different applications, and how to package the macros and functions you create so you can back them up, move them to other computers, and share them with other users.
  • 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.
  • In this course, you will analyze and visualize data using Excel and associated tools. You will:
  • Identify general components of VBA and their appropriate use in solving business solutions.
  • Record VBA macros to automate repetitive tasks.
  • Use reference tools built into Excel to get help on VBA programming language and objects used in the Excel VBA environment.
  • Write VBA code to create a custom worksheet function.
  • Eliminate, avoid, or handle errors in VBA code, and optimize its performance.
  • Control how and when macros run.
  • Develop UserForm objects to create custom dialog boxes and windows.
  • Use VBA to read and write data from local files and cloud services.
  • Use VBA to clean and transform data.
  • Run programs and commands outside of Excel and share VBA projects with other users.

Before you attend

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 1-3.

Course outline

  1. Module 1Using VBA to Solve Business Problems

    • Use Macros to Automate Tasks in Excel
    • Identify Components of Macro-Enabled Workbooks
    • Configure the Excel VBA Environment
  2. Module 2Automating Repetitive Tasks

    • 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. Module 3Getting Help on VBA

    • Use VBA Help
    • Use the Object Browser to Discover Objects You Can Use in VBA
    • Use the Immediate Window to Explore Object Properties and Methods
  4. Module 4Creating Custom Worksheet Functions

    • Create a Custom Function
    • Make Decisions in Code
    • Work with Variables
    • Perform Repetitive Tasks
  5. Module 5Improving Your VBA Code

    • Debug VBA Errors
    • Deal with Errors
    • Improve Macro Performance
  6. Module 6Controlling How and When Macros Run

    • Prompt the User for Information
    • Configure Macros to Run Automatically
  7. Module 7Developing Custom Forms

    • Display a Custom Dialog Box
    • Program Form Events
  8. Module 8Using VBA to Work with Files

    • Use VBA to Get File and Directory Structure
    • Use VBA to Read Text Files
    • Use VBA to Write Text Files
  9. Module 9Using VBA to Clean and Transform Data

    • Automate Power Query
    • Transform Data Using VBA and Workbook Functions
    • Use Regular Expressions
    • Manage Errors in Data
  10. Module 10Extending the Programming Environment Beyond the Workbook

    • Run Other Programs and Commands
    • Share Your VBA Projects

Download the full outline (PDF)

Run this for a team

Private cohorts run on your dates, at your site or online, with the labs pointed at your environment. Above about four people it usually costs less than buying seats.

Or call 916-920-1700, weekdays 8 to 5 Pacific.

More desktop applications classes

See all