cm logo
To speak to a training advisor please call
All Courses / Microsoft Courses / Microsoft Office 2007 VBA: Introduction to VBA in Office 2007
Share: Follow us: Bookmark with: twiter Print Page:

Microsoft Office 2007 VBA: Introduction to VBA in Office 2007

Course Code: VBA07INT      Days: 2
Online Training

Time stretched?

If you would prefer something more flexible, we can now offer Online Training related to this topic.

Click to see a list of courses »

Course Overview

In this course you will learn the fundamental skills to enable you to use the Visual Basic for Applications (VBA) programming language to simplify or automate activities in the Microsoft Office 2007 environment.

NOTE that Microsoft Excel 2007 is used as the key application during the course.

If you have a question about this Microsoft training course, call one of our advisors who will be happy to help answers any queries you may have.

Related Courses

Audience

Students looking to gain the skills necessary to apply VBA to develop macros, create user-interactive macros, and perform custom calculations. It is often the case that you work with Office files that include Macros and this course will introduce the VBA programming language together with how to navigate within the VBA environment.

Skills Gained

After completing this course, students will be able to:

  • Develop macros
  • Format and navigate within worksheets
  • Create an interactive workbook
  • Perform custom calculations
  • Create a VBA form
  • Control macro flow
  • Debug the code and handle errors

Prerequisites

Delegates should be able to:

  • Record macros
  • Comprehensive understanding of the difference between absolute and relative references
  • Format worksheet and workbooks
  • Sort and filter data
  • Create charts
  • Knowledge of functions, e.g. SUM, IF, VLOOKUP

Course Outline

Lesson 1: Getting Started

  • Introducing Visual Basic for Applications
  • Recording a Macro
  • Running a Macro
  • Adding Macros to Keyboards Shortcuts, Buttons and Illustrations
  • Editing a Macro in the Visual Basic Editor
  • Understanding the Development Environment
  • Tips for using QuickInfo and General Typing in VBA
  • Using Visual Basic Help
  • Closing the Visual Basic Editor

Lesson 2: Working with Procedures

  • Program Design
  • Understanding Modules
  • Creating a Standard Module
  • Understanding Procedures
  • Multiple Macro Concepts
  • Creating a Subroutine
  • Creating a Function
  • Understanding Arguments
  • Exiting Procedures
  • Calling Procedures

Lesson 3: Understanding Objects, Properties, Methods and Events

  • Understanding Objects
  • Navigating the Object Hierarchy
  • Understanding Collections
  • Using the Object Browser
  • Using the With Statement
  • Working with Properties
  • Working with Methods
  • Creating an Event Procedure

Lesson 4: Using Expressions, Variables and Intrinsic Functions

  • Naming Rules
  • Understanding Expressions and Statements
  • Declaring Variables
  • Understanding Data Types
  • Working with Variable Scope
  • Passing Values between Procedures
  • Using Intrinsic Functions
  • Understanding Constants
  • Using Intrinsic Constants
  • Using Message Boxes
  • Controlling the Answer to a Message Box
  • Using Input Boxes
  • Declaring and Using Object Variables

Lesson 5: Controlling Program Execution

  • Understanding Control-of-Flow Structures
  • Working with Boolean Expressions
  • Using the If...End If Decision Structure
  • Using the Select Case...End Select Structure
  • Using the Do...Loop Structure
  • Using the For...To...Next Structure
  • Using the For Each...Next Structure
  • Guidelines for use of Control-of-Flow Structures

Lesson 6: Working with Forms and Controls

  • Understanding UserForms
  • Using the Toolbox
  • Working with Form Properties, Methods, and Events
  • Understanding and Setting Control Properties
  • Working with Form Controls
  • Setting the Tab Order
  • Populating a Control
  • Adding Code to Controls
  • Launching a Form in Code

Lesson 7: Debugging Code

  • Understanding Errors
  • Using Debugging Tools
  • Setting Breakpoints
  • Stepping through Code
  • Using Break Mode During Code Execution
  • Determining the Value of Expressions

Lesson 8: Handling Errors

  • Understanding Error Handling
  • Understanding Error Trapping Options
  • Trapping Errors with the On Error Statement
  • Understanding the Err Object
  • Working with Inline Error Handling
  • Writing an Error-Handling Routine
 
Related Online Training


How to make a booking for the VBA07INT course

Scheduled Dates

Request availability or enquire by clicking a date:

Sort by Location

London Region
London (Central)
£ 590
London (Central)
£ 590
London (Central)
£ 590
London (Central)
£ 590
London (Central)
£ 590
North West England
Manchester (Greater)
£ 590
Manchester (Greater)
£ 590
Manchester (Greater)
£ 590
Scotland
Edinburgh
£ 590
Glasgow
£ 590
West Midlands
Midlands (West)
£ 590
Midlands (West)
£ 590
Midlands (West)
£ 590
Yorkshire and the Humber
Yorkshire (West)
£ 590
Yorkshire (West)
£ 590
Yorkshire (West)
£ 590

Sort by Date

Yorkshire and the Humber
£ 590
Scotland
£ 590
North West England
£ 590
London Region
£ 590
Scotland
£ 590
West Midlands
£ 590
London Region
£ 590
Yorkshire and the Humber
£ 590
North West England
£ 590
West Midlands
£ 590
London Region
£ 590
North West England
£ 590
London Region
£ 590
Yorkshire and the Humber
£ 590
London Region
£ 590
West Midlands
£ 590

No Suitable Dates?

Please click above and we will take care of the rest.

Please click above and we will be happy to discuss the benefits of onsite and bespoke courses with you.

CourseMonster books thousands of public training courses, classes and boot camps both in London, City of London and throughout the UK including: Berkshire, Birmingham, Bristol, Bournemouth, Aylesbury, Cambridge, Derby, Devon, Edinburgh, Glasgow, Hampshire, Ipswich, Leeds, Leicester, Luton, Manchester, Middlesex, Milton Keynes, Newcastle, Norwich, Nottingham, Plymouth, Reading, Sheffield, Southampton, Surrey, Sussex, Midlands and Yorkshire. Topics range from software to administration, project management and development.