ACC: Sample OLE Automation for MS Word and MS Excel
Article ID: 123859
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q123859
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article demonstrates how to activate Microsoft Word version 6.0 for
Windows or Microsoft Excel version 5.0 for Windows from a command button on
a Microsoft Access form.
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to the "Building
Applications" manual.
NOTE: Visual Basic for Applications (used in Microsoft Access version 7.0)
is called Access Basic in version 2.0.
REFERENCES
Microsoft Access "Building Applications," version 2.0, Chapter 13,
"Communicating with Other Applications," pages 282-297
For additional information about OLE Automation, search for "OLE
Automation," and then "Interoperability with Microsoft Word
and Microsoft Excel (Common Questions)" using the Microsoft Access Help
menu.
Keywords: kbinfo kbprogramming KB123859