0800 282 353 or +44 1372 364610
Productivity through Education®
 
 

VBA Programming: A Comprehensive Hands-On Introduction

 
Course: 209   Duration: 4 Days
 
 

You Will Learn How To

  • Develop customised solutions using Visual Basic for Applications (VBA)
  • Apply the object models to program effectively in the Microsoft Office System
  • Take full advantage of extensive built-in VBA functionality
  • Exploit ActiveX controls to create functional and familiar user interfaces
  • Troubleshoot code using VBA's debugging tools
  • Secure your code and protect your users from macro viruses

Course Benefits

Effective business solutions do not come straight out of the box. With VBA, you can write code to enhance the off-the-shelf capabilities of Office and other products that support VBA. Using VBA, you can develop custom-built solutions. In this course, you learn the fundamentals of programming and VBA from the ground up. You gain the skills you need to automate repetitive tasks, build user interfaces and increase performance.

Who Should Attend

This course is valuable for anyone who wants to automate tasks through VBA programming. Some experience using the products in the Microsoft Office System is assumed. No previous programming experience is required.

Hands-On Training

Extensive hands-on exercises provide you with practical experience automating Office applications, such as Word, Excel and Outlook, with VBA programming. Exercises include:
  • Building user interfaces with standard and custom controls
  • Adding powerful subtotalling to an Excel workbook
  • Creating form letters and Outlook mail with customised userforms
  • Protecting users with digital signatures
  • Retrieving Access and SQL Server data for use in Word and Excel
  • Integrating the powerful features of Word and Excel

Related Courses

  • 503 Visual Basic Programming for .NET
  • 970 Microsoft Access Comprehensive Introduction
  • 971 Building Applications with Microsoft Access
  • 296 Project Management: Skills for Success
  • 538 SharePoint 2007 Technologies Comprehensive Introduction

 
Visual Basic is a registered trademark of Microsoft Corporation.
  VBA Programming Comprehensive Introduction

Upcoming Dates

Live online classroom training.Attend highlighted events in person or live, online via Learning Tree AnyWareTM.

UK Dates

20-23 MarLondon
29 May - 1 JunLondon
14-17 AugLondon
23-26 OctLondon
8-11 JanLondon

US East Coast Dates

17-20 AprNew York*
24-27 AprWashington, DC*

*New York and Washington, DC Courses – Available online with a run time of 2pm to 9pm BST.

For AnyWare enrolments, please register at least 10 days prior to the start of the course.


For complete schedule, please visit www.learningtree.co.uk
 
http://www.learningtree.co.uk/courses/uk209.htm
 
 
0800 282 353 or +44 1372 364610
Productivity through Education®
 
 

VBA Programming: A Comprehensive Hands-On Introduction

 
Course: 209   Duration: 4 Days
 
 
Course Content
 

Introduction

The advantages of VBA

  • An easy-to-use and versatile language
  • Integrated with off-the-shelf products
  • Minimises development time and costs

Macros: the first step

  • Recording and executing macros
  • Limitations
  • Enhancing with VBA code

Getting to Know the VBA Development Environment

The code design tools

  • Project Explorer
  • Help system
  • Code Window
  • IntelliSense
  • Properties Window
  • Object Browser

The debugging tools

  • Code stepping
  • Immediate Window
  • Breakpoints

Writing VBA Code

Event-driven programming

  • The role of events in Windows
  • How events are triggered
  • Responding to events through event procedures

Putting objects to work

  • Properties
  • Methods
  • Events
  • Collections
  • Using With...End With

Storing data in variables

  • How and when to declare variables
  • Selecting data types
  • Fixed and dynamic arrays
  • Constants
  • The scope and lifetime of variables

Conditional branching

  • If...Then...Else
  • Select...Case

Looping through code

  • Do...Loop, While and Until
  • For...Next and For Each...Next

Building procedures

  • Creating Sub and Function procedures
  • Calling procedures
  • Passing arguments to procedures

Empowering VBA through the Application Object Models

Understanding object model structures

  • Exploring the hierarchy using the Object Browser and Help system
  • Referencing specific objects

Writing application-specific procedures

  • Key objects within Excel, Word and Outlook
  • Creating templates and add-ins

Exploiting the power of Automation

  • Controlling one Office application while working in another application
  • Accessing data in databases

Building Intuitive User Interfaces

Using intrinsic dialogues

  • Communicating with the user through the message box
  • Gathering user information with the input box

Creating customised dialogues with UserForm objects

  • Command buttons
  • List and Combo boxes
  • Option buttons
  • Check boxes
  • Labels
  • Text boxes
  • Frames
  • Adding more functionality with advanced ActiveX controls

Modifying menus and toolbars

  • Simplifying user interaction with the CommandBar object
  • Adding and removing CommandBarControl objects

Providing a Safe and Secure Environment

Handling runtime errors

  • The On Error GoTo structure
  • Classifying errors with the Err object
  • Continuing execution with Resume, Resume Next or Resume label

Implementing security

  • The dangers of macro viruses
  • Macro security levels in Office
  • Applying digital signatures to macros
  • Password protecting your VBA code
 
http://www.learningtree.co.uk/courses/uk209.htm
 
 
0800 282 353 or +44 1372 364610
Productivity through Education®
 
 

VBA Programming: A Comprehensive Hands-On Introduction

 
Course: 209   Duration: 4 Days
 
 
Course Fees
£ 1,925Standard Fee
Fee with a Savings Plan
£ 1,2252-Course Passport
£ 1,0853-Course Passport
£ 1,0004-Course Passport
£ 1,600Voucher 10-Pack

Your Course Fee Entitles You To...

  • Class participation
  • Team workshops
  • Use of in-class hands-on equipment
  • Comprehensive course materials
  • Morning and afternoon refreshments
  • Course Completion Certificate
  • FREE participation in the Learning Tree Professional Certification Programmes (including related exams)
 
 

Savings Plans

2-Course Passport
  • 2 Courses in 12 months for £2,450
  • As little as £1,225 per course
  • Savings up to 45% per course
3-Course Passport
  • 3 Courses in 24 months for £3,250
  • As little as £1,085 per course
  • Savings up to 50% per course
4-Course Passport
  • 4 Courses in 24 months for £4,000
  • As little as £1,000 per course
  • Savings up to 55% per course
Training Vouchers
  • Save as much as £675 per course
  • Fully transferable
  • As low as £1,600 per course
* Exact savings may vary depending on courses selected.

Your Guarantee of Satisfaction

Unless you feel 100% satisfied that Learning Tree delivered even more than you expected, there is no fee for your course attendance. Our Guarantee of Quality lets you experience the value of the course - and then pay only if you feel the course was well worth the fee.

Enrolling is Easy and Flexible!

Enrol by phone or online. If your plans change, just let us know and, without a fee, you can transfer to another course or cancel your enrolment. Pay after you've taken the course, and then only if you are 100% satisfied.

 
http://www.learningtree.co.uk/courses/uk209.htm