icon icon

VBA (Visual Basic for Applications) in Microsoft Access

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Clearer Access structure - You will organize your work with tables, queries, forms, and reports, making it easier to connect database elements into one solution and quickly locate the source of problems.

icon

Automation with macros - You will learn to create macros and trigger them on specific events, so you can reduce manual work in Access and speed up daily handling of repetitive database tasks.

icon

Practical VBA coding - You will master variables, procedures, functions, conditions, and loops, so you can write VBA code on your own to solve real tasks in Access forms, reports, and modules.

icon

Efficient record handling - You will practice CRUD operations with data using different libraries, which will let you add, read, update, and delete records directly from your own VBA code.

icon

Dynamic SQL queries - You will learn how to build dynamic SQL code and use parameter queries, allowing you to create flexible filters, summaries, and reports tailored to user needs.

icon

More reliable error handling - You will learn to identify error types, catch them deliberately, and respond in line with user expectations, which will improve the stability and predictability of your solutions.

icon

Object-oriented basics - You will understand classes, objects, methods, and properties, making it easier to structure your code, use VBA more effectively, and build clearer program architecture.

icon

Data exchange with Office - You will learn to export and import data between Access and other MS Office applications, which will help you prepare reports, summaries, and further process information.

Training programme

1. Review of information regarding Access program objects (tables, queries, forms, reports)

2. Creating macros

3. Running macros on specific events

4. Programming in VBA language

  • variables,
  • procedures,
  • functions,
  • scope and accessibility levels of objects,
  • conditional statements,
  • loops.

5. Working with a database

  • CRUD operations (creating, reading, updating, deleting) on records
    in the database using various libraries,
  • creating dynamic SQL code,
  • using parameterized queries to perform e.g. reports.

6. Error handling

  • types of errors and methods of their detection and elimination,
  • ignoring errors,
  • error handling according to the user's wishes.

7. Object-oriented programming

  • class,
  • object,
  • method,
  • property.

8. Operators

  • logical,
  • comparison,
  • mathematical.

9. Cooperation with other MS Office applications

  • export from and import of data to other MS Office applications.

10. Training summary

What are the prerequisites for participating in the training?

icon

Basic Access navigation - You should move confidently around the Access interface and understand what tables, queries, forms, and reports are used for, so you can focus on programming.

icon

Working with database objects - You should be able to open, edit, and run basic database objects in Access, because the course expands these elements with macros and VBA programming.

icon

Logical thinking - You should be comfortable with simple logic and if-then relationships, because during the course you will build conditions, loops, and exception handling.

icon

Basics of data work - You should understand what a record, a field, and data filtering mean, so you can more easily move into CRUD operations, parameter queries, and SQL code.