Word 2007 VBA

Two day training course

Course code: PRI01WD07VB

This two-day hands-on course is designed to give those experienced Word users a thorough working knowledge of VBA and will enable them to develop and automate Word solutions. Delegates will examine sample code, learn how to create macros from scratch, be encouraged to write programs so that future maintenance can be carried out with the minimum of effort.

Target Audience/Pre-Requisites

Target Audience

Experienced users of Word who need to develop and enhance their expertise. In particular, delegates should be confident with the fundamental techniques of Word and have a thorough knowledge of templates, styles and fields.

Pre-requisites

To fully benefit from this course, attendees are expected to be confident users of Word and be familiar with the topics covered in the Word Foundation and Intermediate courses.


Course Objectives

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

• Create macros in Word
• Understand the Word object model and VBA concepts
• Work with the main components of the VBA Editor window
• Create command procedures
• Create and use variables
• Create and work with functions
• Use decision structures to control the outcome of your program
• Use looping structures to repeat sections of code
• Work with text using a range of objects
• Customise the way files and folders are managed
• Create a custom form complete with controls and event procedures
• Create code to drive a UserForm
• Write a variety of error handling routines
• Use Word's built-in dialog boxes

Course Content

Macros

Understanding Word Macros • Setting a Macro Security Level • Recording a Simple Macro • Running a Macro • Assigning a Macro to a Toolbar • Modifying a Macro Tool  • Assigning a Macro to a Menu • Assigning a Macro to a Shortcut Menu • Creating a Custom Pull-Down Menu • The Many Ways of Running a Macro  • Editing a Macro  • Deleting a Macro  • Removing References to Macros • Creating a Macrobutton Field  • Tips for Developing Macros

Understanding VBA

VBA Terminology • Accessing the Word Object Model • Using the Immediate Window  • Working with Object Collections • Setting Property Values  • Using the Object Browser  • Programming with the Object Browser

Using the VBA Editor

Opening and Closing the Editor  • Working with the Project Explorer • Working with the Properties Window • Working with the Work Area • Working with a Code Module  • Running Procedures from the Editor

Procedures

Creating a Command Procedure  • Making Sense of IntelliSense • Using the Edit Toolbar • Commenting Statements  • Indenting Code • Bookmarking in Procedures

Using Variables

Creating & Using Variables • Implicit and Explicit Declarations • The Scope of Variables  • Procedure Level Scoping  • Module Level Scoping  • Passing Variables by Reference • Passing Variables by Value  • Data Types • Declaring Data Types  • Using Arrays • Using Intrinsic Constants

Functions

Functions Theory • Creating & Calling Functions • The MsgBox Function • Sending Messages to the User • Input Techniques  • Using the InputBox Function  • Nesting Functions  • Using Functions in Function Procedures

Decision Structures

The If Statement • Using If for Single Conditions  • Using If for Multiple Conditions • The Select Case Statement • Using the Select Case Statement • Using Select for Sets of Values • Using Select for Ranges of Values

Looping Structures

For Loops • Looping for Each Item • Adding an Exit to a Loop • The Do Loop Statement • Looping with Unknown Iterations

Working with Text

Text & Document Components • The Story Range • The Selection Object  • Using the Selection Object • The Range Object  • Using Range Objects • The Find Object

Document Management

The Activate Open & Close Methods • Opening & Closing Documents  • The Add Method • The Save & SaveAs Methods • Properties that Return Information • Functions that Return Information • Files Folders & Drives • Working with Files & Folders • Removing Files & Folders  • The Application & Options Object

Creating Custom Forms

Creating A Custom Form • Adding Text Boxes to a Form • Adding Label Controls to a Form • Changing Text Box Control Properties • Adding a Combo Box Control  • Adding Option Buttons • Command Buttons • Changing the Appearance of Controls • Running a Custom Form

Programming UserForms

Initialising A Form  • Closing a Form • Creating Functions for a Form • Coding Option Buttons  • Setting Bookmarks for Data Entry • Setting the Tab Order  • Forcing Correct Entry • Templates and AutoStart Macros • Creating a Template with AutoMacros

Error Handling

Error Types • The On Error Statement  • Creating a Simple Error Handler  • Using the Resume Statement • Using Decision Structures in Error Handlers • Defining Custom Errors

Built-in Dialogs

The Dialogs Collection • Dialog Box Arguments • Using the Execute Method • Using the Show Method  • The Display Method

Related Courses
You may also be interested in some of the following related courses below:

Microsoft - Word 2007 - Foundation
Microsoft - Word 2007 - Intermediate
Microsoft - Word 2007 - Power User

Course Scheduled Dates

Sorry, we are not arranging any scheduled public courses for this course.

Perhaps you may like to organise a private training session. Please feel free to contact us. One of our training consultants would be pleased to discuss the best options available for you.

Alternatively, why not design your own course? Our Customised Course Builder will allow you to select the modules appropriate for your particular training needs.


Send this course to a friend
 
Course Fee / Saving Plans

Course Fee

We have a rolling programme of Scheduled Public sessions for the majority of standard courses – both in IT Productivity and Management & Soft Skills. Group sizes are limited to ensure optimum learning amongst delegates.

Passport Saving Plans

The advertised rates are on a per delegate basis, however if you have more than one attendee you may be entitled to a discount. To maximise your training budget why not email or contact one of our training consultants to see what rates/discounts may apply for your particular requirement.

Alternatively, if you have regular, ongoing training requirements, you may find one of our Training Passports of interest. Each is designed to provide our clients with significant benefits:
• Far better discounts
• Less administrative overhead
• Better control of your training schedules

Scheduled Training Passports
Enables you to pre-purchase training places on any of our standard scheduled courses.

Private Training Passports
Enables you to pre-purchase private training days against any of our standard courses.

Each of the above passports come with substantial discounts.

To maximise your training budget why not email or contact one of our training consultants who will be happy to provide you with the latest offers on any of our Training Passports. See what rates/discounts may apply for your particular requirement.

Build your own course

Personal Details

Name
Company
Phone
Email
Address
Contact Preference Phone Email Mail

Microsoft Word 2007 - Foundation
Word Basics 0.5 Units
Creating a Document & Working with Text 0.5 Units
Formatting Text & Working with Fonts 0.75 Units
Using Word Automatics 0.75 Units
Indenting and Spacing 0.5 Units
Working with Paragraphs 0.5 Units
Applying Bullets/Borders & Shading 0.5 Units
Working With The Page 0.75 Units
Printing Options 0.5 Units

Microsoft Word 2007 - Intermediate
Using Styles 0.75 Units
Document Proofing 0.5 Units
Using Section Breaks 0.75 Units
Working with Header & Footer 0.75 Units
Newsletter Style Columns 0.5 Units
Working with Tables 1 Units
Using Mail Merge 1 Units
Reviewing Documents 0.75 Units

Microsoft Word 2007 - Power User
Using Outline View 0.5 Units
Working with Long Documents 0.75 Units
Master Documents 0.75 Units
Fields 0.75 Units
Templates 0.5 Units
Macros 0.75 Units
Electronic Forms 0.75 Units
Document Security 0.5 Units
Importing 0.75 Units
 

Please Enter The number above before submitting

(Note: 3 Units Minimum)
Total Units:
 
Pre Course Assessment Tool

Personal Details

Name
Company
Phone
Email
Address
Contact Preference Phone Email Mail

  Knowledge Level
Topic Good Fair None N/A
Word Orientation
Working with the Office Assistant/Online Help
Opening/Closing/Saving/Renaming Documents
Navigating/Using Go To
Typing Text/Numbers/Inserting Dates
Spelling & Grammar Checking
Cut/Copy & Paste (Paste Special)/Office Clipboard
Find & Replace
Formatting Essentials
Changing Fonts/Styles/Size
Superscript/Subscript/Strikethrough
Setting/Modifying/Removing Tabs
Creating/Using AutoText/AutoComplete/AutoCorrect
AutoFormatting Text/As You Type
Indenting Using the Keyboard/Ruler/Toolbar/Menu
Inserting/Removing Paragraph Marks/Line Breaks
Paragraph/Line Spacing
Applying/Modifying Paragraph Numbering
Widows & Orphans
Changing Bullet Fonts & Type/Size/Indents
Applying/Editing Borders to Paragraphs/Page Border
Applying Shading
Paper Size/Margins/Orientation
Creating/Formatting Headers & Footers
Inserting Page Numbers
Inserting/Finding/Removing Page Breaks
Printing/Previewing Large Documents
Printing Odd/Even Pages
Printing Comments/Hidden Text/To FIle
Adding Watermarks

Topic Good Fair None N/A
Applying Existing Style
Creating/Modifying/Renaming/Deleting Styles
Managing Styles
Working with Headings
Using the Format Painter
Spell Checking
The Custom Dictionary
Grammar Checking
Using Thesaurus
Next Page Section Breaks
Continuous/Odd & Even Section Breaks
Deleting Section Breaks
Creating/Formatting Headers & Footers
First Page Headers & Footers
Odd & Even Pages
Creating Section Headers
Creating Columns/Specifying Column Settings
Inserting/Deleting Column Breaks
Setting Column Widths
Creating and Adding Data to a Table
Formatting a Table (AutoFormatting a Table)
Creating Formulae/Updating Calculations
Sorting Table Data
Merging/Splitting Cells
Table Alignment/Properties
Applying Borders & Shading
The 6-Step Merge Process
Previewing/Performing the Merge
Mailing Label Mail Documents
Merging Techniques
Printing Envelopes & Labels
Finding/Highlighting Text
Working with Comments
Tracking Changes
Comparing Documents/Version Control
Document Protection

Topic Good Fair None N/A
Working with an Outline
Outline Numbering
The Document Map
Using Bookmarks
Creating/Modifying/Deleting Footnotes/Endnotes
Creating/Updating a Table of Contents
Marking/Modifying/Deleting Index Entries
Cross References
Captions
Master & Subdocuments
Editing/Merging/Splitting Subdocuments
Printing a Master Document
Prompting Fields
Document Information Fields
Formula Fields
Editing/Printing Field Codes
Locking/Unlocking Fields
Creating/Using/Modifying Templates
Applying Different Templates
Macro Security Levels
Recording/Running a Simple Macro
Assigning Macros to a Toolbar/Menu/ShortCut
Editing/Deleting/Copying Macros
Setting Form Structure
Text Form Field Properties
Creating Calculation Fields
Creating Drop Lists/Tick Boxes
Editing/Deleting Form Fields
Password Protecting a Document
Write Protected/Read Only Documents
Using Hidden Text
Pasting/Linking/Embedding Worksheets
Inserting Documents/Importing Databases and Charts
Creating Charts from Tables
 

You will not be able to submit your assessment until you have completed the personal details section and selected the appropriate Knowledge Level for EVERY topic in the above list."
 
Request more information

Please fill out the form below for more details:

Last Name
Job Title
Company
Office Telephone
E-mail
Brief Details

 

To Print Course Details Click Here