Search Tools Links Login

A Good Example of Automation with Word


This code demonstrates a little of what can be done with automation.
It opens Word and allows you to create documents, write text, print etc.
Unlike DDE the VB program is totally in control of the application and it's functions.
Automation can be used to control most modern Microsoft Office products (Outlook/Excel/Access even VB!) and can make a real difference to your application.
If anyone wants to see how to send Email / Create Contacts in Outlook, let me know as I have something prepared.
As usual, I've left the comments in so that you can see what I'm doing.
How to link an Automation object into your project:
Project > references > Automation (example:Word 8)

Original Author: John Edward Colman

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 114 times

Categories

MS Word

Visual Basic 6

Attachments

CODE_UPLOAD1069410162000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 3,165 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.