Who is this course for?
This course will enable you to use Excel Visual Basic for Applications (VBA) to automate and customise spreadsheets. Were appropriate your own work requirements may be used as course examples.
How long is this course?
What do I need to know before attending?
It is assumed that you will be familiar with a wide range of Excel features, in addition to being a competent Microsoft Windows user.
What will I expect to achieve at the end of the training?
At the end of this course
you will be able to:
- Appreciate the benefits of using Visual Basic (VBA) macros.
- Record, run and edit basic Excel macros.
- Interpret and edit VBA code.
- Apply programming techniques such as conditional branching and loops to your macros.
- Acquisit user data and display messages.
- Create User Forms to manage complex user input.
Explaining the purpose and potential of Excel macros.
VBA (Macro) Basics
Recording simple macros to automate routines such as document formatting.
Using convenient ways of running macros -objects within documents, and shortcut keys.
Using Absolute and Relative referencing in macros.
Methods for Excel navigation and selection.
Working with Excel Objects.
Editing VBA Program Code
An introduction to the programming behind recorded macros.
Understanding the syntax of VBA code.
Making changes and additions to code.
Using the Basic Help system.
Introducing some commonly used commands to give more power and flexibility to your macros, such as making the actions of your macro conditional on some activity.
Creating non-recordable code for:
Managing user-input and displaying messages.
Declaring and using variables.
Use of conditional statements.
Responding to 'Events'.
Creating and utilising custom User Forms to manage user interaction.
Processing data returned from user forms.
Techniques to help find and resolve problems:
Identifying types of problem.
Monitoring values while programs are running.
Using the De-bug and watch windows.