EXCEL VBA

Microsoft Excel VBA can save time by automating repetitive tasks and creating more powerful, interactive spreadsheets. This practical Excel VBA course introduces Visual Basic for Applications and shows you how to create, edit and manage macros within Excel.

You’ll progress from recording macros to writing VBA code, working with variables, procedures, control structures and Excel objects. You’ll also learn how to create user forms, test and debug code, handle errors and automate reporting tasks.

The course is completely hands-on and no previous programming experience is required. However, you should have a thorough knowledge of Excel or have completed an advanced Excel course before attending.

Two Day Course

DEVELOP YOUR SKILLS

ACHIEVE YOUR GOALS

EXPAND YOUR HORIZONS

COURSE OBJECTIVES

By the end of the course, you’ll be able to record and edit Excel macros, write VBA procedures and functions, work with variables and use logical control structures to manage how your code operates.

You’ll also be able to work with Excel objects, create user-friendly forms, test and debug applications and apply error handling. Finally, you’ll bring these techniques together to create an automated Excel project that can process data and generate reports.

COURSE CONTENT

Excel Macros

Start by recording macros and navigating the Visual Basic environment. Become familiar with VBA syntax and learn how to assign macros to buttons, menus and toolbars to automate everyday Excel tasks.

Writing VBA Code

Move beyond recorded macros by writing your own VBA procedures. Use Sub and Function statements, create private procedures and apply named arguments to organise code and perform specific tasks.

Variables

Manage information within VBA using variables and appropriate declarations. Explore Dim, Public and Private statements, examine variable scope and identify ways to avoid naming conflicts within your code.

Automated Formatting & Reporting

Simplify repetitive spreadsheet tasks through automation. Import and organise data, apply worksheet formatting and generate reports using VBA, including the creation of PivotTables.

Visual Basic Objects

Gain practical experience of Excel's object model, including properties, methods and collections. Navigate the Object Browser and use VBA to perform multiple operations on worksheets, ranges and other Excel objects.

 

Control Structures

Direct the flow of your VBA procedures using conditional statements and loops. Apply IF...THEN...ELSE, SELECT CASE, FOR...NEXT and DO...LOOP structures to automate decisions and repeated actions.

User Forms & Interface Controls

Design interactive forms and dialog boxes that make spreadsheets easier to use. Incorporate checkboxes, command buttons, scrollbars and other controls to simplify data entry and user interaction.

Testing & Debugging

Identify and resolve coding problems using VBA's debugging tools. Practise starting, stopping and stepping through procedures, setting breakpoints and tracing code execution to locate errors.

Error Handling

Make your VBA procedures more reliable by anticipating potential problems. Use the On Error statement and Excel's built-in error values to manage unexpected conditions and control how code responds.

Building an Automated Excel Project

Bring together the techniques covered to create a practical automated spreadsheet. Design an interactive data-entry form, apply filters and produce reports through a single-click process.

PRACTICAL LEARNING

Throughout the course, you’ll write and test VBA code in Excel, progressing from recorded macros to more complete automated solutions. Practical exercises include working with forms, processing data, applying filters and creating reports.

You’ll bring these skills together by creating an automated spreadsheet from start to finish, including a user-friendly interface for data entry and one-click reporting.

 

The date shown is the course start date. Training takes place on consecutive days.

BOOK NOW TO SECURE YOUR PLACE

‹ BACK TO COURSES

CALL 01284 763040 TO BOOK YOUR PLACE