Microsoft® Excel VBA Level 2: Branching, Looping & Custom Functions & Forms
December 30 @ 1:00 pm - 5:00 pm
FreeMicrosoft® 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
- Creating an exit condition
- Using the Do Until…Loop construct
- Quitting a faulty loop
- Controlling Program Flow
- Writing an IF…Then…Else statement
- Adding additional conditional branches
- The ElseIf statement
- Using interactive message boxes
- Error Trapping
- The On Error statement
- 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
- Function procedures
- Function arguments
- Using the Immediate Window for testing
- Working with Array Variables
- Writing a Select Case statement
- Using functions in code structures
- Using functions in spreadsheet formulas
- Function procedures
- Creating Custom Dialog Forms
- Exploring ActiveX controls
- Text boxes
- Combo boxes
- Option groups
- Spin buttons
- Command buttons
- Exploring ActiveX controls
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: www.nasbaregistry.org.