Get in Touch

Course Outline

Macros

  • Recording and editing macros
  • Assigning macros to forms, toolbars, and keyboard shortcuts

VBA Environment

  • Visual Basic Editor and its settings
  • Management components
  • Keyboard shortcuts
  • Optimizing the development environment

Introduction to procedural programming

  • Procedures: Function and Sub
  • Data types
  • Conditional statements: if ... then ... elseif ... else ... end if
  • Case statement
  • Loops: for, while, until
  • For ... next loops
  • Loop control statements (exit)
  • Array processing

Quoted string manipulation

  • Combining quoted strings (concatenation)
  • Type conversion (implicit and explicit)
  • Key features for processing quoted strings

Visual Basic

  • Reading and writing data to spreadsheets (Cells, Range)
  • Data exchange with users via InputBox and MsgBox
  • Variable declaration
  • Variable scope and lifetime
  • Operators and their precedence
  • Option settings for modules
  • Creating and using custom functions in sheets
  • Objects, classes, methods, and properties
  • Code security measures
  • Preventing and previewing code tampering

Debugging

  • Stepping through code
  • Locals window
  • Immediate window
  • Traps and Watches
  • Call Stack

Error handling

  • Types of errors and prevention strategies
  • Capturing and handling run-time errors
  • Statements: On Error Resume Next, On Error GoTo

Excel Object Model

  • The Application Object
  • Workbook object and Workbook collections
  • Worksheet Object and Worksheet collections
  • ThisWorkbook, ActiveWorkbook, and ActiveCell objects
  • Selection objects
  • Range collections
  • Cells objects
  • 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
  • Managing frequently occurring events

VBA Forms

  • Creating custom forms
  • Invoking forms from code
  • Utilizing forms within worksheets

Requirements

  • Proficiency in working with spreadsheets, including foundational knowledge of references, ranges, sheets, etc.
  • No prior VBA experience is required to create macros or write VBA code.

Audience

  • Data Analysts
 21 Hours

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from 3900 € + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (5)

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories