Introduction to Programming with VBA

Level
Total time

Introduction to Programming with VBA

Perpetual Solutions
Logo Perpetual Solutions
Provider rating: starstarstarstarstar 10 Perpetual Solutions has an average rating of 10 (out of 1 reviews)

Need more information? Get more details on the site of the provider.

Starting dates and places

There are no known starting dates for this product.

Description

Prerequisites:

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…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Prerequisites:

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.

Course Description:

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.

On completion of this course, delegates will be able to:

  • 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.

This course includes the following modules:

Course Contents

  • 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

For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!

There are no reviews yet.

Share your review

Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.