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.
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
- 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
- Object Variables
- Converting Variables
- Naming Conventions
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
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.
- Workbook , ActiveWorkbook , ThisWorkbook
- Worksheet, ActiveSheet
- 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.
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.