Kursusmål 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.
Deltagere The course is for experienced Excel users wishing to gain some basic knowledge and scope provided by the Visual Basic for Applications programming language, which will enable you to design programme modules for automation and specialisation of Excel.
Kursusmateriale The course optimises your benefits by alternating between theory, in-depth questions and practical exercises. These exercises will be supported by the carefully refined course material designed by 4D Konsulenterne A/S especially for this course.
To maintain and develop your Excel competence, we recommend that you use the course materials supplied as an efficient reference source after the course. And if you encounter further challenges, you are always welcome to contact our instructors to discuss more detailed questions, etc.
Kursus indhold 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?
In this module you will learn to create shortcuts for easy access of your macros.
- Creating Macro Shortcuts
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
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)
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
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
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
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
Har du spørgsmål?
Hvis du har yderligere spørgsmål til dette produkt eller ønsker at få fremsendt materiale i forbindelse med produktet, er du velkommen til at benytte kontaktformularen herunder.