Course code Title Language Price # Unit Startdate Hour Enddate Location Signup
MSVIC06 Word VBA on your request on your request Contact Us

Word VBA

Word VBA

Overview

Course code: 
MSVIC06
Duration: 
0
Time Unit: 
Day(s)

Topics

Topics: 

1 Word Macro's & VBA primer
Differences Between WordBasic and Visual Basic
Macro recording tools
VBA Storage & File location
Record simple macro's in Word
UI Customisation: Toolbar or Ribbon
What to store where? Best practices!
VBA Window parts
A Macro is a Sub
VBA Language principles
Debugging, Testing tools

2 Decision Structures
line if: 1 code statement in the if after the then
Multiple code statements in the if
If then else constructions
ElseIf constructions

3 VBA Dialog Boxes: Part 1
MsgBox: messaging users

4 Looping in VBA
FOR NEXT Loops
DO WHILE Loops

5 Error handling for Trappable errors

6 Word Application properties
General Ms Word options
Paths to default locations (for templates)
Application user interface options

7 ActiveDocument - Documents
ActiveDocument
ThisDocument
Documents

8 Text inside a document
Selection & Content
Type of selection
Information of a selection
Font Formatting
Moving around
Deselect a Selection/Range
Insert text with Selection or Range
Ranges
Paragraphs
StoryRanges Collection
Sections
Pages

9 Inserting Breaks with selection/ranges

10 Document Properties
Document Built in properties
Document Custom Properties

11 Lists

12 Tables
Creating tables
Table properties a methods
Writing in a Cell
Check if the Selection or Range is in a table
Go out of a table

13 Headers & Footers

14 PageSetup

15 Shapes & Shaperange

16 Bookmarks & Forms

17 Templates and Documents
Attached templates
Normal Template
Templates collection
BuildingBlocks

18 Working with Styles
Copy styles from a template to a document

19 VBA Dialog Boxes: Part 2
Word Dialogs
FileDialog (better control of user file choosing)

20 Intercept Word Commands : Events in Word

21 SPECIAL Macro Names
Event Skeletons in ActiveDocument
Reserved Effective Procedure names

22 VBA Reference to templates