x

Contact Us


Please fill out this form to send us an enquiry.





01489 588453
Contact Us
Contact Us
icon

Project Management

icon

Business Skills

Health & Safety

Latest Course - Next Date: 24/01/12

Microsoft Project 1
Microsoft Project Introduction   In addition to delivering projects on schedule and within budget, today’s project teams must reduce time to market and cope with rapidly shifting conditions. Microsoft Project is a powerful tool to help you break - Book Now

Microsoft Excel VBA 1

Print Page


Level Introduction
Date/Venue 02/05/12 - Southampton
Duration 2 days
Time 09:30 to 16:30
Price Net - £500.00
VAT - £100.00
Gross - £600.00

Enquire

Introduction to Microsoft Excel VBA
 
The MS 07 Excel - Visual BASIC for Applications (VBA) course has been specifically designed for the advanced Excel user who wishes to make use of the more powerful facilities of MS Excel made available from VBA. This course explores VBA language and delegates will develop a small project to ensure that future editing, amending, updating and data extractions can be carried out with the minimum of effort. The course is aimed at those with little or no previous programming background, although experienced programmers wishing to learn VBA will find it a quick and valuable introduction to the language. Previous experience of recording Excel macros is desirable though not essential. Throughout the course the theme of adopting good programming practices will be encouraged.
Course Aim
 
  •  To create and edit VBA code to automate elements of MS Excel.
Course Objectives
 
By the end of this level you will be able to:
 
  •  Record and Edit Excel macros
  •  Make informed decisions on when to Record macros and when to write VBA programs
  •  Run macros or VBA programs from a worksheet using command and/or toolbar buttons
  •  Open, Close, Save Workbook(s)
  •  Insert, Delete, Rename Worksheet(s)
  •  Close/save all Open workbooks and Quit Excel
  •  Interact with the PC user through messages and keyboard input including selections from dropdown lists
  •  Construct efficient and easily maintainable VBA Programs
  •  Identify beginning and end of a range of worksheet cells
  •  Extract user specified data from a range of cells (similar to but beyond filtering)
  •  Build multiple worksheets from data extracted from other sheets/workbooks
  •  Format ranges of cells
  •  Carry out arithmetic within VBA or insert Excel functions into a sheet
  •  Trap and handle user generated errors
  •  Develop your own functions similar to those offered by Excel
Content
 

Introduction

What is a Macro

Recording & Running a Macro

Relative References

 
Assigning Macros to Buttons and Objects

Assigning a Macro to a Button or a Drawn Object on a Sheet

Assigning a Macro to a Button on a Toolbar
 

Editing Macros

Visual Basic Editor

Project Explorer

Procedures; Inserting Comments

Printing a Visual Basic Module

 
Improving macro performance

Aesthetic improvements

Increasing speed

 
Creating VBA Projects

Structuring an application

Identifying Modules and procedures

Writing and testing tight and concise VBA code

Adopting good programming practices
 

Developing the course project

Collecting user input

Verifying success of each procedure

Understanding an application’s requirements

 
The Range Object

Cells & Range Method; Flexible Ranges

Virtual Worksheets; Range Contents

 
Workbooks and Sheets

Activating a Workbook & Worksheet

This Workbook

 
Objects, Properties & Methods

Controlling Objects with their Properties

Performing Actions with Methods

Performing Multiple Actions on an Object

 
Variables

Variables and associated Data Types

Object Variables

 
Control Structures

Conditional & Looping Control Structures

Non-Structured Statements

Sub Procedures

 
Using Controls

Adding Worksheet Controls

Worksheet Control Properties

 
Designing VBA Forms

Using Drop Down Lists

 
Debugging & Error trapping

Errors, Break Mode; Instant Watch

Stepping & Error Handling

 
Function Procedures

User Defined Functions

 
Course summary

Save VBA project to disc

Course Includes
Lunch/refreshments and course materials.
 
Training Venues for scheduled courses at: Whiteley - Southampton, Salisbury, Basingstoke
 
 
Testimonials
Comment: An excellent introduction to VBA. [RN - DSTL]
Comment: Well covered and well presented using good examples and notes. [DT - DSTL]
Comment: I found it really useful and found the way it was taught easy to follow. [LS - Coopervision]

Excel VBA

Enquire