Excel Basic VBA Programming (conducted in English) kursus

  • Office
  • Excel
  • Excel Basic VBA Programming (conducted in English) kursus

You will learn

You will become familiar with the basic programming principles in the Visual Basic for Applications programming language, including the scope for managing the spreadsheet process by applying your own programme routines.

This course is intended for you, who work with Excel 2016, Excel 2013, Excel 2010, Excel 2007 or Excel as a part of Office 365.

You get

Before the course
  • The opportunity to speak with one of our instructors about finding the right course for you.
During the course
  • Teaching by the most experienced instructor team in our cozy and fully updated classrooms located in the center of Copenhagen.
  • A course that consists of a both theory and practical exercises. We know the importance of having practical exercises and hands-on is always in focus during the courses.
  • A course material you can use as an encyclopedia after the course and downloads of course exercises.
  • All meals, which includes breakfast, fresh coffee, tea, fruit, soft drinks, lunch in an Italian restaurant on Gråbrødretorv, cake, candy and off cause Wi-Fi to your devices.
  • A course certificate as a proof of your new skills.
After the course
  • Access to our free hotline service, which means that you up to a year after the completing of the course can contact us if you have questions regarding subjects from the course.
  • We have a unique satisfaction guarantee in order to ensure you the complete benefit from the course.

Get the best benefit from the course

On our Excel VBA programming course, we recommend that you have participated in our Excel Experienced or have the knowledge equivalent to the content covered in the course.

Besides that, we recommend that you show up in due time on the day of the course, willing to learn, and we will promise you the best possible course experience.

Feel free to contact us on 33 14 71 44, undervisning@4d.dk or via our chat. We are looking forward to seeing you!

Course Details

Recording Macros

In this module is shown basic recording of macros. What to be aware about before recording and when recording is a big benefit.

  • Relative/Absolute Recording
  • Where are Macros Saved?

Introduction to Ribbon, Toolbars and Icons

In this module you will learn to create shortcuts for easy access of your macros.

  • Creating Macro Shortcuts

The Visual Basic Editor

In this module you will learn to create subs and make settings for the VBA editor. And you will learn some tricks when entering code using intelligence for the different objects.

  • Creating Procedures
  • Views
  • Options
  • Using the Help Function

Variables and Data Types

In this module you will learn about dimensioning variables using different data types. Where can the different variables be accessed from and what is the lifetime of a variable.

  • Declaring Variables
  • Local Variables
  • Module Variables
  • Global Variables
  • Constants
  • Object Variables
  • Converting Variables
  • Naming Conventions

Simple Dialogues

In this module you will learn about the most common dialogues for communication with the user. I could be from a simple message to the user to receiving an input.

  • The MsgBox Command
  • The InputBox Function
  • MsgBox Functions

Control Structures

In this module you will learn about conditional structures, which is a comparison of values, which result in one or another direction of the code. Which lines of code should run now? Often are the lines of code to be executed are the same again and again, and for this you would use a loop structure. A loop structure could run through a lot of rows, cells, or sheets.

  • Statements (If-Then-Else and Select Case)
  • Loops (Do-Loop, Do-While and For-Next)

Splitting Codes Into Sub-Routines

In this module we illustrate the ability to reuse code. This can be done by placing the code in a Sub, as this can be called multiple times. In order to make these calls more versatile you can pass arguments to the Sub and these arguments can be used for calculations or getting the Sub to respond to the input.

  • Calling a Sub from Another Sub-Routine
  • Calling a Sub from Another Sub-routine With Arguments


In this module, you can try out a lot of the most commonly used controls on a Userform. You’ll be told the main purpose for Userforms and how to use events on controls- and Userform.

  • Designing Your Own Dialogues with Labels, Text Boxes, Combo Boxes, Check Boxes, etc.
  • Scope of Application
  • Using events

The Most Essential Excel Objects

In this module, you’ll get your hands on the most commonly used objects, which Excel offers. The individual objects that you have to learn to code up against, have a lot of methods and properties, which are the challenge to control.

  • Application
  • Workbook , ActiveWorkbook , ThisWorkbook
  • Worksheet, ActiveSheet
  • Range
  • Select
  • Address
  • Offset
  • Cells, Rows, Columns

Events for the Excel File

In this module we put focus on the automatic events which occur, when you for example open or close a work book, activate a worksheet or click on or change a value for a cell.

  • Workbook_Open
  • Workbook_Deactivate
  • Workbook_Activate
  • Worksheet_Activate


In this module you will learn how to create your own functions. Excel offers a lot of functions, but you can relatively easily create your own and apply them in your worksheet or in the VBA environment.

  • Declaring Functions
  • Applying Functions in the Excel Spreadsheet


In this module you are introduced to a multidimensional variable also called an Array. It will be explained why you might want to use this structure of a variable.

  • Declaring Arrays
  • Applying Arrays

Simple Error Management

In this module you get explained what you put up with code that potentially can crash. You do not want to the end user of your macros to end inside the Visual Basic environment with a mysterious error message. This you will be able to manage.

  • The Error Object

Du er i gode hænder hos os


Gratis rådgivning
Gratis hotline

Der er mange gode grunde til
at bestille dit Office kursus


Amagertorv 21
1160 København K