Programming with VBA Excel

In this hands-on course, you will learn the basics of programming and VBA from the ground up. You will develop the skills needed to automate repetitive tasks, design interfaces for users and increase performance to improve user productivity.

Who should attend this course?

This course is interesting for anyone who wants to automate tasks through VBA programming.

Prerequisites

Experience in the use of Microsoft Office system products, particularly in Excel, is preferred. No previous programming experience is required.

During this 3-day training, participants will learn how to:

  • Program with VBA.
  • Develop custom solutions by using Visual Basic for Applications (VBA)
  • Make the most of the VBA’s built-in construction.
  • Leverage ActiveX controls to create functional user interfaces
  • Fix the code using the VBA debugging tools.
  • Secure your code and protect your users from macro viruses
  • Use Visual Basic to control Excel, and to automate procedures that speed up and simplify working from Excel data.

You also learn how to set up interactive procedures by using message boxes and custom dialog boxes by using ActiveX controls. By the end of the course, you will have acquired a good understanding of Visual Basic language and methods of solving recurring tasks.

Introduction to VBA

  • Language type
  • Scope of application
  • VBE Environment
  • Program Scope

Macros

  • Recording and running macros
  • Limitations of recorded macros
  • Improved automatically generated VBA code

Introduction to programming

  • Structure of a macro
  • Variables and data types
  • Constants
  • Conditional structures (IF, CASE)
  • Loops (WHILE, FOR)
  • Objects (Methods, Properties, Events)
  • Excel objects (workbook, sheet, etc.)
  • Collections

Debugging

  • Step by step
  • Immediate window
  • Breakpoints

Procedures and Functions

  • Differences
  • Usage
  • Arguments

Message boxes

  • Information boxes
  • Input boxes

Creating a user interface

  • ActiveX controls (TextBox, Combobox, Checkbox, ListBox, etc.)
  • Event Programming

Error handling

  • The GoTo Error structure.
  • Error handling in code.
  • Error Resume.

Exporting code

  • Creation et insertion of addins.

Security

  • The dangers of macros.
  • Security levels.
  • Code protection.

Tips & tricks from Professionals

Practical information

Duration

3 Days

Languages

FR / NL

Price

€ 1200 + 3% VAT

Location

Classroom Course

Schedule

Guaranteed to run

Sessions in English
Contact us for more infoBook
Sessions in Dutch
10 - 12/1/2024Book
06 - 08/3/2024Book
06 - 08/5/2024Book
03 - 05/7/2024Book
04 - 06/9/2024Book
06 - 08/11/2024Book
Sessions in French
05 - 07/2/2024Book
17 - 19/4/2024Book
10 - 12/6/2024Book
05 - 07/8/2024Book
07 - 09/10/2024Book
09 - 11/12/2024Book

Share this course on

Book your training

Enter your information to confirm your booking.

    Prerequisite test

    Looking for a tailor made solution?