Loading Courses

« All Courses

Microsoft® Excel VBA Level 2: Branching, Looping & Custom Functions & Forms

December 11 @ 1:00 pm - 5:00 pm



The numbers below include tickets for this event already in your cart. Clicking "Get Tickets" will allow you to edit any existing attendee information as well as change ticket quantities.
VBA 2: Branching, Looping & Forms - 12/11/2024 pm
$ 0.00

Microsoft® Excel VBA Level 2: Branching, Looping & Custom Functions & Forms will explore the programming capabilities of conditional branch constructs as well as repetitive looping structures. The builds will be cumulative, beginning with the core basics and expanding to include interactive message boxes to control program flow. In addition, basic error-trapping techniques will be featured.

Objective: The user will coordinate constructive code blocks that will run coherent loops controlled by conditional statements. They will also use the IF…Then…Else construct to control flow processes featuring conditional branches. Additionally, global methods for trapping program errors will be used.

  • Program Looping
    1. Creating an exit condition
    2. Using the Do Until…Loop construct
    3. Quitting a faulty loop
  • Controlling Program Flow
    1. Writing an IF…Then…Else statement
    2. Adding additional conditional branches
      1. The ElseIf statement
    3. Using interactive message boxes
  • Error Trapping
    1. The On Error statement
    2. Creating an error subroutine

The second part of the course will expose the user with the construction of custom Visual Basic functions which can be used either in programming code or spreadsheet formulas. This course will also demonstrate how to create custom dialog forms for gathering data input and returning values into the spreadsheet.

Objective:  Create functions for computing values that can be used in programming procedures or in spreadsheet operations. In addition, the user will create custom forms featuring a variety of ActiveX controls designed to return input values into spreadsheet cells.

  • Creating Custom Functions
    1. Function procedures
      1. Function arguments
      2. Using the Immediate Window for testing
      3. Working with Array Variables
      4. Writing a Select Case statement
    2. Using functions in code structures
    3. Using functions in spreadsheet formulas
  • Creating Custom Dialog Forms
    1. Exploring ActiveX controls
      1. Text boxes
      2. Combo boxes
      3. Option groups
      4. Spin buttons
      5. Command buttons

IMPORTANT INFORMATION ABOUT PARTICIPATION:  As part of our sponsorship with NASBA, we have agreed to provide at least three (3) instances of engagement per CPE hour (50 minutes).  These may come in the form of open-ended questions, hand-raising, polling, and other techniques.  You MUST answer or respond to all three opportunities to engage in order to receive credit for that CPE hour.   Knowledge Source Inc. retains these responses after all CPE classes for audit purposes.

Knowledge Source Inc. is registered with the National Association of State Boards of Accountancy (NASBA) as a sponsor of continuing professional education on the National Registry of CPE Sponsors. State boards of accountancy have final authority on the acceptance of individual courses for CPE credit. Complaints regarding registered sponsors may be submitted to the National Registry of CPE Sponsors through its website:


December 11
1:00 pm - 5:00 pm
Courses Category:


Virtual Live

Leave a Comment

Your email address will not be published. Required fields are marked *