Introduction to Excel VBA Course
Course DescriptionThis example-based, hands-on course introduces you to the fundamentals of writing Excel macros. You will learn how to create procedures to automate your work, remove the risk of inconsistencies and errors in repetitive tasks and above all, to save time.
You will write and edit macros for Excel, using Visual Basic for Applications and the Integrated Development Environment. Upon successful completion of this course, students will be able to:
Delivery Method: Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities. |
£645 2 day course Scheduled Dates: 05 January 2012 16 February 2012 29 March 2012 10 May 2012 21 June 2012 Location: PTR's Training Centre Wokingham, Berkshire. |
Course pre-requisites:
To effectively understand this course, we recommend that you take the Microsoft Excel Level 1, Level 2 and Level 3 courses, or have equivalent experience.
Topics covered on the 2 day Introduction to Excel VBA course
Part 1: Basics of writing VBA
Part 2: Selecting objects and setting values
- Overview
- Properties and methods
- Named vs Positional arguments
- Examples of Properties and Methods
- Exercise – selecting cells and inserting data
Part 3: Setting format properties
- Exercise – adding formatting to a worksheet
Part 4: Using variables to store information
- Data types for variables
Part 5: Interacting with the user
- Using an InputBox to get information
- Some examples of using the InputBox function
- Exercise 3 – Using InputBoxes to automate headers and footers
Code for Exercise 3
- Using a MsgBox
- Using a MsgBox to give information to the user
- Using a MsgBox to get information from the user
- Exercise 4 – Using MsgBox functions
- Exercise 5 – Using InputBoxes, MsgBoxes and functions
Part 6: Branching and looping
- The IF block
- Exercise 6 – Using IF…ELSE…END IF
- Select case
- Using SELECT CASE to test a single conditional against multiple outcomes
- Exercise 7 – Using Loops
- Exercise 8 – Using DO…LOOP
Part 7: Object Variables and FOR EACH… NEXT loops
- Exercise 9 – Using object variables
- Using the UNION function and multiple object variables
- Exercise 10 – Putting it all together
Course Classification:
Technical Training Course
This is an instructor led training course taught in a classroom based environment.
Scheduled course dates
05 January 2012 to 06 January 2012
16 February 2012 to 17 February 2012
29 March 2012 to 30 March 2012
10 May 2012 to 11 May 2012
21 June 2012 to 22 June 2012
View full schedule of Microsoft Excel courses
View full schedule of VBA courses
Print / Download PDF Version of full course schedule
If you would prefer to run this course at your premises as you have several employees to place on the course perhaps, then we are also able to offer onsite VBA Training and bespoke VBA courses