-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
In the course Word Programming with VBA, you will learn how VBA, Visual Basic for Applications, can be used to write templates and macros in Word and thus how to program in Word with VBA. Word is part of Microsoft's Office suite and has a built-in object model that can be accessed with VBA.
The course Word Programming with VBA starts with how to create templates in Word that use custom dialog boxes, dynamic menus and toolbars. Attention is paid to the underlying VBA Word code.
Next the syntax of the VBA language is discussed, in which statements, variables and control flow constructs are covered. In particular the parts of VBA Word that are important for controlling Word are treated.
An important part of the course concerns the use of functions and procedures in Word. The participants also learn how to write functions themselves and then call them from VBA code.
Next attention is paid to the so-called Word Object model and its properties and functions with which Word can be controlled.
Furthermore the program of the course covers how databases can be accessed from Word with the DAO, Data Access Objects, object model.
And finally events and event handling are covered. After completing this course, participants will be able to create and maintain Word templates, which are fully tailored to their own corporate identity.
The course Word Programming with VBA is designed for persons who want to learn to write templates in Word and who want to control form input with VBA.
Good knowledge of templates in Word and how Word deals with text, paragraphs and sections is required to participate in this course.
The theory is treated on the basis of presentation slides. Illustrative demos provide further clarification of the concepts. The theory is interspersed with practical exercises.
After successful completion of the course the participants receive an official certificate Word Programming with VBA.
Module 1 : VBA in Word |
Module 2 : VBA Syntax |
Module 3 : Control flow |
Templates in Word Template Types Recording and Playing Macro's Visual Basic Editor Programming in VBA Entering code VBA Code Statements Comments User Interaction Messagebox and Inputbox |
Variables Constants Declarations Data Types Modules Objects Stepwise Execution Breakpoints Debuggen Syntax Errors Error Handling |
Selections If Statements Else Statements If Then Else Select Case Iterations For Next Do Loop With end With Arrays in VBA Array Indexes |
Module 4 : Functions |
Module 5 : Word Object Model |
Module 6 : Events |
What are Functions? Parameters Arguments Finding Functions Defining Functions Forms Creating User Interfaces Making Dialog Windows Controlling the Cursor |
Word Objects Object Model Documents Paragraphs Sections Bookmarks Range Object Data Access Objects Word Database Access |
What are Events? Sorts of Events Reacting on Events Handling Events Disabling Events Event Functions Application Events Window Events Domain Functions |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.