Facebook

Excel Basic VBA Programming (conducted in English) kursus

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

You will learn

In this Excel course 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.

After the course you will be able to:

  • Work with variables, constants and data types - to handle values in you code
  • Using IF-structures and loops, fx. when code should be executed and how many times
  • Access rows in a large range and process values in a desired column
  • Code up against sheets and workbooks, fx. control of sheet- or file names
  • Code up against cells: Selection of cells, assign/retrieve values, copy/move cells
  • Build userforms with selections for the code to respond to
  • Create own functions to be able to reuse code smart
In the section, ”Course Details” below, you will find more details about the content of this course in Excel

One of the first things we look at, is the use of Variables, Constants, how they are declared, and how to use them. Both are containers in which you can store a value and which is the basis for subsequent programming. We look at how we test the value of these variables or eg. cells and what needs to be done based on the test.

We look at several types of loops, typically a number of rows to be accessed. Fx. do we want to to run through 10,000 rows, but only want to look at columns 6 and 8 that contain Sales and Profit. And maybe we should use the two values in a calculation and place them in a third column.

In the chapter on the "Most Essential Objects" you learn how to program up against Project folders, Sheets and not least Cells. In Excel, almost everything is done in cells, so you have countless options to "attack" cells via VBA - they are called Methods and Properties.

You will learn to make Userforms, containing Controls like List boxes, Options buttons, Check boxes or Text boxes and then users can make selections using these. Afterwords you can code make code which uses these selections.

The most important thing is that the course lasts 3 days! In order for you to be become independent after the course, it is optimal that you get a lot of time to do exercises and thereby obtain some routine in programming.

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

This Excel course is a part of 4D's unique collection of English conducted courses and we recommend that you have participated in our Excel Experienced or have the knowledge equivalent to the content covered in the course.

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

Formulas

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

Functions

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

Arrays

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

Kontaktoplysninger

Adresse
Amagertorv 21
1160 København K