• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Automation: Communicating wi... > Controlling Word from Access

Controlling Word from Access

As you discovered in the preceding section, Excel exposes many objects. Each of these objects can be manipulated separately, using its own properties and methods. Prior to Office 97, this was not true for Word, because Word exposed only one object, called Word.Basic. With Microsoft Word 97, Visual Basic for Applications is available, and Word 97 exposes many objects just as Excel and other Microsoft products do.

Just like Excel, you can use the CreateObject function or GetObject function to launch Word. Like Excel, Word, launches as a hidden object. The Word application object has a Visible property, which makes the Word object visible. If you create a Word object using automation, Word will not automatically terminate, even if the object variable is destroyed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint