Microsoft Excel Level 4 (VBA)
Learn how to use a combination of Excel and VBA to improve your productivity, adding power and flexibility to spreadsheets by creating user-defined functions. Basic knowledge of Excel is assumed but no programming knowledge is required.
Course Content
Recorded Macros: Understanding excel macros; Setting macro security; Saving a document as macro enabled; Recording a simple macro; Running a recorded macro; Relative cell references; Running a macro with relative references; Viewing a macro; Editing a macro; Assigning a macro to the toolbar; Running a macro from the toolbar; Assigning a keyboard shortcut to a macro; Deleting a macro; Copying a macro; Tips for developing macros
Recorder workshop: Preparing data for an application; Recording a summation macro; Recording consolidations; Recording divisional macros; Testing macros; Creating objects to run macros; Assigning a macro to an object
Understanding VBA: VBA terminology; About objects; Accessing the excel object model; Using the immediate window; Working with object collections; Setting property values; Working with worksheets; Using the object browser; Programming with the object browser
Using the VBA editor: The VBA editor; Opening and closing the editor; Working with the project explorer; Working with the properties window; Working with the work area; Working with a code module; Setting breakpoints in the editor; Stepping through a procedure
Procedures: About procedures; Creating a command procedure; Making sense of intellisense; Using the edit toolbar; Commenting statements; Indenting code; Bookmarking in procedures
Using variables: Understanding variables; Creating and using variables; Implicit and explicit declarations; The scope of variables; Procedure level scoping; Module level scoping; Passing variables by reference; Passing variables by value; Data types; Declaring data types; Using arrays
User defined functions: About functions; Creating simple user-defined functions; Using user-defined functions; Using multiple arguments; Modifying a function; Creating a function library
Using Excel objects: Application methods and properties; Workbook methods and properties; Viewing excel and the editor together; Using workbook objects; Worksheets methods and properties; Using worksheet objects; Range methods and properties; Using range objects; Using objects in a procedure
Programming techniques: The msgbox function; Sending messages to the user; Inputbox techniques; Using the inputbox function; Using the inputbox method; the if statement Using if for single conditions; Using if for multiple conditions; The select case statement; Using the select case statement for loop; Looping with known or specified iterations; The do...loop statement; Looping with unknown iterations
Creating custom forms: About custom forms; Creating a custom form; Adding text boxes to a form; Changing text box control; Properties; Adding label controls to a form; Adding a combo box control; Adding option buttons; Adding command buttons; Running a custom form
Programming user forms: Handling form events; Initialising a form; Closing a form; Project transferring data from a form; Running form procedures; Creating error checking procedures; Running a form from a procedure; Creating quick access toolbar buttons
Automatic startup: Programming automatic procedures; Running automatic procedures; Automatically starting a workbook
Course Delivery
Presenter taught computer based training
Course Outcomes
At the completion of Programming in VBA Microsoft Excel you should be able to:
- create recorded macros in Excel
- use the macro recorder to create a variety of macros
- understand the Excel object model and VBA concepts
- work with the three main components of the VBA Editor window
- create command procedures
- create and use variables
- create and work with user-defined functions
- write code to manipulate Excel objects
- use a range of common programming techniques
- create a custom form complete with controls and event procedures
- create code to drive a user form
- create procedures that start automatically
- write a variety of error handling routines
Suitable for
Programming in VBA Microsoft Excel is designed for users who wish to learn how to use the inbuilt programming language in Excel to enhance their worksheets and automate processes.
Before the course
This course assumes the student has some prior knowledge of working with Excel and it would be beneficial to have a general understanding of personal computers and the Windows operating system environment.
Assessment
Certificate of attendance.
Centre for Continuing Education
Directions
Centre for Continuing Education
160 Missenden Road
Newtown
2042
Centre for Continuing Education
Directions
For directions from your location, enter your address in the Directions from field above the map shown below, then click the Get Directions button.
For University of Sydney campus maps and guides, visit sydney.edu.au/maps.
Public Transport
For public transport information visit 131500.com.au or phone TransportInfo on 131500.
Other Information
Secure Parking is available through the RPAH Medical Centre located on the corner of Missenden Road and Carillon Avenue (entry to the car park is via Elizabeth Street, off Carillion Avenue). Parking is available on weekdays only between the hours of 7:00AM – 7:00PM at a rate of $38/day or $9/day after validating your ticket at CCE’s reception. All CCE participants who validate their tickets at reception are required to park their vehicles on Level B3. If the validated ticket does not register in the car park’s ticketing machine, cancel the transaction then reinsert your ticket into the ticketing machine until the $9 fee appears.
Parking costs and parking arrangements for University of Sydney facilities are available here.