Access VBA course

In this course you will learn how to automate tasks in Access using VBA. You will work with the VBA editor, the object model, loops, variables and error handling.

4,6 on Google NRTO quality mark
For a team or department? Arrange your own group, at your premises or ours. In-company for your team
  • Automating Access tasks with VBA
  • Writing your own functions and loops
  • Debugging directly in the VBA editor
  • Your own practical case as a starting point
  • Trainer adapts to your level

Would you like to make Access work more intelligently and more quickly? In this course you will delve into VBA and automate common tasks. You will learn to write and adjust code in the VBA editor and work with the Access object model. The result: working more efficiently with your databases.

Description

In this course you will get to work with VBA in Access. You will learn how to generate and adapt code using the VBA editor, and you will be introduced to the object model and the specific objects in Access.

You work with subroutines, custom functions, variables, loops and Docmd objects, among other things. ADO techniques, debugging and error handling are also covered. An experienced trainer tailors the content to your starting level and learning objectives, so that you practise specifically with topics that are relevant to you. You can bring your own practical examples to work on straight away.

Topics

  • The Access object model and VBA concepts
  • Working with the VBA editor
  • Using macros and VBA
  • Creating subroutines and custom functions
  • Using variables
  • Building interaction with users
  • Applying IF and OR in VBA
  • Using loops
  • Working with DoCmd objects
  • Applying ActiveX Data Objects (ADO)
  • Debugging in VBA
  • Error handling in VBA

Result

After this course you will be able to automate common tasks in Access using VBA. You will write your own subroutines and functions, work with variables, loops and conditions, and use Docmd objects and ADO to control data. You will also learn to trace errors and handle them properly. The result: working with Access faster and with more enjoyment.

Target audience

This training course is intended for Access users who want to automate tasks with VBA. You have experience with Access and want to go a step further by writing and adapting code yourself. Some basic knowledge of programming is handy, but not a requirement.

Teaching method

You take this course in our open learning format. This means that on a day of your choice you work through your own course material, while an experienced trainer is present in the room to guide you. You work at your own pace and ask questions whenever you get stuck. That way you decide for yourself where to place the focus and which topics deserve extra attention. Do you have a practical example of your own? Feel free to bring it along and work on it directly during the course.

Prior knowledge

You need experience with Access at user level. You know how to create and use tables, queries, forms and reports. Programming experience is not required, but it is useful if you have worked with macros before.

Comments

You take this course in our open learning format: you work independently on assignments at your own pace, with an experienced trainer alongside you for explanation and questions. This way you decide for yourself where to spend extra time and which topics to work through more quickly.

Course format

This training is offered on the basis of our Open Learning teaching method. This means that you work independently, with active guidance from our trainer, to master the material. That way you can achieve your learning objectives at your own pace, without being held back by fellow participants working faster or slower. The trainer makes sure that you stay on schedule and meet your learning objectives. This form of learning leaves room for a tailored approach. You have the opportunity to bring in examples from your own practice and IT environment, so that your learning is even more specific. more...

Practical information

Number of days
2 days
Course times
from 10 am to 5 pm
Teaching hours
12 hours
Education level
Suitable for all levels
Preparation time
None
Included
Course materials and lunch on site
Certificate
At the end of the course you will receive a certificate of attendance

Language

The course is given in Dutch as standard. The trainer speaks English. English-language course materials can be used. If at least 3 participants register, the course can also be given entirely in English.

This course for your team?

Plan your own group on a date that suits you, at your office, at our premises or online. We tailor the content to your day-to-day work, and training a whole group is cheaper than individual bookings.

  • Your date and location
  • Tailored content
  • Multiple groups or an academy are also possible
  • More than 25 years' experience
Request a quote No obligation, an adviser will be in touch shortly How in-company works

What others say about this course

“Learned a great deal in a short time, which I can also apply straight away in practice”

Gert Lems
Veiligsregio Zuid-Holland
Access Basics
8.1

“I took the Access Basics course. The trainer is highly knowledgeable and takes all the time needed to help you. Knows how to create a very pleasant atmosphere.”

J. de Graaf
Incotec Group B.V.
Access Basics
8.0

“A very good training course for learning and working with Access 2003 Basics.”

Marco Kruijt
Access 2003 Basics
9.1

“Clear course material that you can work through at your own pace.”

H.G.G. Houx
Rabobank Nederland
Access Basics
8.1

"Very good course. It certainly helps you expand your skills."

R. Koolen
Kuehne en Nagel Logistics
Access 2003 Advanced
8.3

“The Access Basics course I took through learnit comes with very clear and well-organised course material, and it is further explained and clarified by a very experienced trainer.”

R. Bell
CEVA Logistics
Access Basics
8.0

Training formats

Classroom

2 days€ 1100,-
  • Pleasant venue with a good trainer
  • Small groups
  • Inspiring and motivating
Choose a date

Online

2 days€ 930,-
  • Online with a trainer
  • Personal
  • Practical and interactive
Choose a date

In-company

Bespoke trainingOn request
  • 100% for your group
  • Bespoke training
  • At your place or ours
View in-company

Workshop

Up to 4 hours for groupsOn request
  • Suitable for events
  • Interactive and inspiring
  • Large groups too
Request a quote

Private training

At our place or yoursOn request
  • 100% just for you
  • Achieve a lot in little time
  • Whenever you want
Request a quote

Frequently asked questions

How long does the Access VBA course last and what will you learn?
The Access VBA course lasts two days and teaches you how to automate common tasks in Access using VBA. You will work with the VBA editor, the Access object model, subroutines, functions, variables, loops, IF and OR statements, Docmd objects and ADO techniques. Debugging and error handling are also covered. Afterwards you will be able to write and adapt VBA code within Access independently.
Do you need prior knowledge of Access for the VBA course?
Yes, for the Access VBA course you need a solid knowledge of Access. You already work with tables, queries, forms and reports and want to automate these actions. Programming experience is not required, but logical thinking and an affinity with structure will help you on your way. Unsure about your level? The trainer will gauge your starting point at the beginning of the course and tailor the exercises accordingly.
Which topics are covered in the Access VBA course?
In the Access VBA course you learn to work with the Access object model, the VBA editor, macros, subroutines and custom functions. You cover variables, IF and OR constructions, loops, Docmd objects and ADO techniques for database operations. Debugging and error handling are also covered. Afterwards you can automate common tasks in Access and adapt existing code independently.
Do you receive a certificate after the Access VBA course?
Yes, on completion of the Access VBA course you receive a certificate of attendance. This certificate confirms that you have followed the course and have actively practised the topics covered around VBA automation, the Access object model and error handling. You can add it to your LinkedIn profile or include it in your portfolio for an employer or client.
Is the Access VBA course suitable for self-study or classroom learning?
You take the Access VBA course in the open learning format: you work through the material at your own pace in a classroom, with an experienced trainer beside you for explanation, questions and feedback. This combines the freedom of self-study with direct guidance. You decide for yourself which topics receive extra attention, for example loops, error handling or ADO.
Can the Access VBA course also be taken in-company?
Yes, the Access VBA course can also be followed in-company. You then work through the course with colleagues at a location of your choice, for example at your office or at Learnit. The content can be tailored to the databases and processes within your own organisation, so that you work directly on recognisable practical examples. Request a quotation via the course page to discuss the options.
When should you choose a VBA course and when is macro training in Access sufficient?
That depends on what you want to automate. The built-in macro function in Access will get you quite far for standard actions: opening a form, printing a report, running a query. As soon as you need conditional logic, want to write your own functions, work with variables or manipulate records via ADO, macros will not take you any further. Then you need VBA. In the Access VBA course you work with the VBA editor, the object model, DoCmd objects, loops, IF/OR constructions and error handling. A rule of thumb: if your automations stay within one button on one form, macros are enough. If you really want to bend databases to your will and write reusable code, choose VBA. The course is given in the open learning format.
What do you get in Learnit's Access VBA course that you do not learn from a YouTube tutorial or an online manual?
The Access VBA course at Learnit is given in the open learning format: you work independently on your own learning objectives, with an experienced trainer beside you who looks directly at your code. The difference with self-study is concrete. With a tutorial you get stuck on an error message and spend hours looking for the cause. At Learnit you discuss your own problem, get an explanation of the Access object model and see why your code does not work. You may bring a practical example from your work, for instance a form you want to automate or a report you want to control via DoCmd. The trainer adapts the pace and the level of detail to your starting level. You also learn debugging and error handling, two topics that often remain superficial in free materials.
Which type of Access user is this VBA course actually intended for?
This course is aimed at Access users who are already comfortable with tables, queries, forms and reports, and who want to take the step towards genuine automation. Think of database administrators, controllers, information analysts or power users who find that macros fall short for more complex logic. You work with the Access object model, DoCmd, ADO and error handling, so some affinity with programming helps. Complete beginners in Access are better off taking an Access Basics or Advanced course first. Those who already work in Excel VBA will recognise many concepts such as variables, loops and IF structures, but will learn here specifically how to apply these to databases and records. The trainer adjusts the pace to your starting level, so that the exercises match your working practice.
How quickly will I be able to write VBA code myself for my own Access databases after the course?
That depends on your starting level and how often you work with Access directly after the course. The course covers the object model, the VBA editor, variables, loops, IF/OR constructions, Docmd objects, ADO and error handling. This gives you the building blocks to write simple routines independently (a form button that updates records, a loop through a recordset, your own function). For more complex automation, such as extensive ADO operations or robust error handling in production databases, a few weeks of practical experience is usually needed before it really starts to flow. Tip: bring an example from your own working environment to the course. Those who work on a concrete project straight after the course apply the material the fastest. Self-study using a book provides the same theory, but lacks a trainer's direct feedback on your code.
What is the difference between Access VBA and Excel VBA, and is knowledge of one useful for the other?
The VBA language itself is identical: the same syntax, the same loops, the same error handling. The difference lies in the object model your code works on. Excel VBA controls worksheets, cells and ranges. Access VBA controls forms, reports, queries and tables through objects such as DoCmd and the Access library. For data access in Access you will often use ADO or DAO, whereas in Excel you usually work directly with Range objects. If you have experience with Excel VBA, you will immediately recognise the basic concepts such as variables, IF, loops and subroutines. The Access-specific elements, the object model, DoCmd and ADO, are covered in this course. The same applies the other way round: knowledge of Access VBA gives you a flying start if you want to work with Excel VBA later on.
Can I also work with data from other sources in Access VBA, such as SQL Server or Excel?
Yes, that is possible. The course covers ADO (ActiveX Data Objects), a technique with which you connect to external data sources from VBA code. With ADO you can, for example, run queries on a SQL Server database from Access, retrieve records from an Excel file or write data to another Access database. You learn how to set up a connection, create recordsets and read or update fields. This is useful if you use Access as a front end for a larger database, or if you want to combine data from different systems. The course focuses on the VBA side: how you write and debug the code. Specific SQL Server administration falls outside the scope, but the ADO techniques you learn work with any data source that has an OLE DB or ODBC driver.