A Good Example of Automation with Word
Posted: 2002-06-01
By: ArchiveBot
Viewed: 60
Filed Under:
Title | Uploaded | Size |
---|---|---|
CODE_UPLOAD1069410162000.zip | 9/3/2020 3:45:00 PM | 3,165 |
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
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.