Call us today: 0800 028 3045

VBA in Excel Course – Part 1

Is it right for me?

Our VBA in Excel Part 1 course is an introduction to Visual Basic programming in Excel and looks at structures, syntax and coding standards.

This course is designed for existing experienced users of Excel. You must be confident creating and manipulating Excel spreadsheets and creating formulas before attending this course. You must be able to record and run macros.

Previous programming experience would be an advantage.

What will I get out of it?

By the end of the course you will be able to:

  • Write Visual Basic procedures
  • Use the Excel Data Model to manipulate data on worksheets
  • Store data using variables and constants
  • Automatically run code when events occur, e.g. opening a workbook, pressing a button
  • Code user forms for use within workbooks

Versions available

2003, 2007, 2010

Related courses in our range

What does it cover?

The Visual Basic environment

  • Project explorer
  • Excel objects
  • Modules
  • Properties window
  • Code window

Code structure

  • Code structure
  • Navigating within your code
  • Adding comments
  • Using WITH
  • Steps to creating a VBA application

Procedures

  • Sub procedures
  • Event procedures
  • Calling procedures

The Excel data model

  • Workbook commands
  • Worksheet commands
  • Excel selection methods
  • Data manipulation commands

Statements and functions

  • Events and methods
  • Statements and functions
  • Input boxes
  • Message boxes

Debugging

  • Using breakpoints
  • Stepping through code
  • The immediate window
  • The Watch window
  • The locals window

Error handling

  • Error handling routines
  • Using ERR

Variables

  • Declaring variables
  • Declaring multiple variables
  • Variable data types
  • Concatenation
  • Scope of variables

Constants

  • Declaring constants
  • Using constants
  • Scope of constants

Looping

  • Do while loops
  • Do until loops
  • For next loops

Conditional statements

  • IF statement
  • SELECT CASE statement
  • Comparison statements
  • Logical operators

Creating a user form

  • Form layout
  • The control toolbox
  • Naming conventions
  • Adding objects
  • Naming objects
  • Captions
  • Displaying the form

Object properties

  • Object properties
  • Setting properties at design time
  • Setting properties at run time

Interconnectivity between the user form and Excel

  • Comparing values
  • Transferring information
  • Running code

“This course was excellent all round! No suggested improvements. Would highly recommend. I really enjoyed the two days. Thoroughly good value for money!”

Samuel Livingstone, Quant Investment Analyst, Towers Watson

Course Summary

  • Duration: 2 days
  • Price: £460.00+VAT
  • Location: Crawley
  • Select date:

Send to a colleague

Please enter details below and click 'submit'

Tailor this course

If you are interested in this course but would like it tailored to your specific needs, contact Karen Osborn on 0800 028 3045.

Alternatively, enter your details below and one of our team will contact you.


Thales Training & Consultancy is a highly successful training services company based in Crawley. We help companies to develop advantage through learning and development. Highly trusted by leading enterprises, we deliver a full range of dedicated training solutions that enable organisations to achieve key business goals. The 4 core services we offer are Training Courses, Supply Management, Bespoke Services and Managed Services. Our successful partnerships with clients prove that the delivery and management of the right training and development can significantly enhance the pursuit of business excellence.


Thales Training & Consultancy. Registered in England and Wales. Registered Office: Sackville House, Northwood Park, Gatwick Road, Crawley, West Sussex RH10 9XN. Registered in England Number: 1597499. Thales Training serve the local area of Crawley, Gatwick, West Sussex, Surrey and Kent as well as offering training courses at locations around the UK