• Technical IT

    Solutions delivered throughout the UK
  • Business Applications

    Solutions delivered throughout the UK
  • Professional Best Practice

    Solutions delivered throughout the UK
  • Professional Development

    Solutions delivered throughout the UK

Introduction to Programming with VBA

  • Price £990.00
  • Duration 2 day(s)
All major credit cards accepted


Many people find that they need to be able to do a little customisation of Microsoft Office applications, such as Excel and Access, to make them work optimally in their environment; others may wish to become fully-blown Visual Basic developers. We have a range of courses available to assist with acquiring the knowledge and skills, however experience has shown that you cannot make a programmer overnight and this short course has been designed to introduce programming fundamentals, as a lead-in to those other courses.

This course introduces the process of specifying and designing programs, then looks in a very practical way at the features of the “Visual Basic for Applications” (VBA) language. Those attending will learn how to write simple, self-contained programs using various aspects of the language, and also how to call one program from another.
The course uses the Visual Basic editor built-in to Excel, as this is commonly available at work or at home but please note that the course does NOT look at any Excel-specific programming features.

The instructor-led course will use a mixture of lecture material and practicals, some of which will be paper-based but mostly involve writing small programs at the computer.


•Users of Microsoft Office products, typically Excel and Access, who wish to write their own Macros or proceed to more advanced Visual Basic Programming and who have had little or no previous exposure to programming.
•People who have programmed in other languages may find it more profitable to pursue self-study of the VB/VBA language elements
•We will be pleased to advise on suitable resources, but the O’Reilly book “VB and VBA in a Nutshell” is highly recommended.
•There are no technical pre-requisites for this course. Familiarity with the Windows environment and the ability to type a little will be useful!
•Note that users with programming experience should go straight to the Excel or Access programming course, as appropriate, which are identified in the “Recommended follow-on courses” section of this course.


•Adopt a systematic approach to program-writing
•Use the Microsoft Office Visual Basic editor to create a project, module and code procedures
•Write simple input-process-output program code, using data variables, InputBox and MsgBox functions
•Extend basic skills to include program decision-making, branching and looping
•Write and call ‘sub’ and ‘function’ procedures, passing data between procedures
•Reference and use external facilities, such as the Windows File System and the Registry
•Include code to handle run-time errors and make use of the VBA debugging tools.

Course Content

•Program definition and design
•What is a program?; Layers of software in a computer; Task Breakdown – Identifying Start, Middle and End;
•Flowcharts; Pseudo-code.
•The VBA editing environment
•Visual Basic Editor; Projects, Modules & Procedures; Setting the editor options; Navigating; Line breaks and comments;
•Simple Output;
•MsgBox statement;
•Variables and Data Types
•What are variables?; Variable declaration and data types; Arrays.
•Using built-in functions
•Text manipulation; Date functions; Type-conversion;
•Simple user input
•InputBox function
•Program control, Branching and Looping
•IF constructs; Case construct; For & Do Loops; Msgbox function for decision-making
•Types of procedure
•Features of Sub and Function procedures.
•Calling one procedure from another
•Differences in ways of calling subs and functions; Passing information between procedures.
•Use of external facilities
•Setting references; Simple file handling; Use of the Windows Registry.
•Debugging tools and handling errors
•Debug Toolbar; Break Points; Stepping through code; Immediate Window; Locals Window; Watch Window; choices for Error Handling.Program definition and design

Make Enquiry

Course Enquiry

Book Now

Course Enquiry

Find your local training centre