Where to find API's for interacting with Word?
Where to find API's for interacting with Word?
(OP)
I have a copy of Microsoft Press "Office97 Visual Basic Programmers Guide" which deals with issues starting from within the MS Office products.
I'm looking for an info source for how to interact with Word (and Outlook & Excel) from within VB.
Thanks, JohnK
I'm looking for an info source for how to interact with Word (and Outlook & Excel) from within VB.
Thanks, JohnK
RE: Where to find API's for interacting with Word?
Does your book show the object model used by MSOffice? If it does, then it's mostly the same when being called from VB.
You just add a reference to the MSOffice Reference Library (mine says it's version 9.0), then use it like you would any other non-visual ActiveX object.
I haven't used it extensively, so I'm not an expert. What I remember from it is that the objects are a little strange in the way you have to call them.
Chip H.