tel 01732 833085 · e-mail david wallis
These are the courses for Excel developers who want an appreciation of the Excel version of Visual Basic for Applications (VBA) and its use in enhancing spreadsheet operability.
The courses suit anyone who has been recording macros and now wants to gain more control over automation of their spreadsheets than recording alone provides.
For anyone already into writing their own VBA code, DMW will adapt and extend course content accordingly.
Two days on-site, for a starter course, each day lasting from 9:30am to 4:30pm.
VBA is an extensive programming language. The ambitious, and those with big spreadsheet models requiring highly refined VBA modules, should consider anything up to five days to become aware of full scope of VBA syntax.
Skills in using Excel to a level that would be achieved by completing our Intermediate and Advanced Excel training courses.
Topics may include the following and you can specify others to suit your objectives.
Power users already into hard coding VBA will know there is a lot more to VBA than is suggested by the list below. For them DMW will cover in depth syntax of relevance to their particular projects and ambitions.
Why and when to record
Editing recorded macros
Using the Visual Basic Editor
VBA syntax
VBA help
Projects
Modules
Objects and object hierarchy.
Sub procedures
Function procedures
Calling procedures
Use of Immediate Window to test code
Organizing code and procedures.
Relevance of references
Potential pitfalls
Managing References.
Distinguishing Properties
Influencing properties
Using With...End With statements.
Distinguishing Methods
Applying methods.
Style and conventions
Setting up modules
Expressions
Statements.
Declaring variables
Variable data types
Variable scope and lifetime
Local and global constants.
Creating a function
Using a function
Message boxes
Input boxes
Custom dialog boxes.
Program flow
Boolean expressions
If...Else...End statements
Select Case...End Select statements
For...Next statements
For Each...Next statements
Do...Loop statements.
Addressing cells
The active cell
Range offsets
Doing things to cells
Doing things with cells.
Addressing worksheets
Addressing workbooks.
Excel 2003 vs 2007 vs 2010
Creating toolbars using VBA
Creating ribbons using VBA.
Understanding Errors
Using debugging tools
Testing and evaluating expressions.
Purpose of error handling
Essential error handling
VBA error object
Trapping and responding to errors
General-purpose error handling code.
We regularly travel to clients in London and the South East. Based near Tonbridge, we are particularly well placed to visit clients throughout Kent, East and West Sussex, Surrey and London.
As we have done in Ashford, Aylesford, Brighton, Canterbury, Chatham, Chiddingstone, Dover, East Grinstead, Edenbridge, Heathfield, Lightwater, London, Maidstone, Maresfield, Orpington, Paddock Wood, Richmond, Rochester, Sevenoaks, Sittingbourne, Tadworth, Ticehurst, Tonbridge, Tunbridge Wells and Westerham.