Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Course Outline
Macros
- Recording and modifying macros
- Assigning macros to forms, toolbars, and keyboard shortcuts
VBA Environment
- Visual Basic Editor and its configuration options
- Management components
- Keyboard Shortcuts
- Optimizing the development environment
Introduction to Procedural Programming
- Procedures: Function and Sub
- Data types
- Conditional structures: if... then... elseif... else... end if
- Case statements
- Loops: for...loop while, until
- Loop: for...next
- Loop control instructions: break (exit)
- Processing arrays
String Handling
- Concatenating strings
- Converting to other data types (implicit and explicit)
- Techniques for processing strings
Visual Basic
- Transferring data to and from spreadsheets (Cells, Range)
- Exchanging data with the user (InputBox, MsgBox)
- Variable declarations
- Variable scope and lifetime
- Operators and their precedence
- Module options
- Creating custom functions and utilizing them within sheets
- Objects, classes, methods, and properties
- Code security
- Protecting code from tampering and previewing
Debugging
- Step-by-step processing
- Locals window
- Immediate window
- Breakpoints and Watches
- Call Stack
Error Handling
- Types of errors and prevention strategies
- Catching and handling run-time errors
- Error handling structures: On Error Resume Next, On Error GoTo
Excel Object Model
- The Application Object
- Workbook object and the Workbooks collection
- Worksheet Object and Worksheets collection
- ThisWorkbook, ActiveWorkbook, and ActiveCell objects
- Selection object
- Range collection
- Cells object
- Displaying data on the status bar
- Performance optimization using ScreenUpdating
- Time measurement using the Timer method
Event Handling in VBA
- Understanding events
- Responding to events and creating event handlers
- Triggering Event Handlers
- Handling common events
VBA Forms
- Creating custom forms
- Invoking forms from code
- Integrating forms into sheets
Requirements
- Competence in working with spreadsheets, including basic knowledge of references, ranges, and sheets.
- No prior VBA experience is necessary for creating macros or writing VBA code.
Target Audience
- Data Analysts
21 Hours
Testimonials (5)
scope of material
Marcin - Instytut Energetyki- Panstwowy Instytut Badawczy
Course - Visual Basic for Applications (VBA) w Excel - wstęp do programowania
A lot of exercise. Trainer doesn't need to have support for his course. He has really great knowledge for his subject.
Quentin Demeyere
Course - Visual Basic for Applications (VBA) in Excel - Introduction to programming
It was really nice of the trainer that he took a lot of time to answer our questions and helped us improve or gave us hints on how to improve some macros we were already using without fully understanding the code.
David Trieu - CD Projekt SA
Course - Visual Basic for Applications (VBA) in Excel - Introduction to programming
I genuinely enjoyed the short exercises.
Mateusz Podsiadlo
Course - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Training agenda was well thought out.