Article ID: 209955 - Last Review: June 23, 2005 - Revision: 3.0 ACC2000: How to Use Automation to Create a New Contact Item in Microsoft OutlookThis article was previously published under Q209955 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Advanced: Requires expert coding, interoperability, and multiuser skills. SUMMARY
This article shows you how to use Automation from a Microsoft Access form to start Microsoft Outlook and to display a new contact screen for input. You can change just one line of code to make this example apply to a new Microsoft Outlook appointment, journal entry, mail message, note, post, or task.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
The following example shows you how to create a form in Microsoft Access that starts Microsoft Outlook from a command button. Then the Automation code opens a new contact screen for input in Microsoft Outlook. After you enter the contact and save and close the contact form, the Automation code quits Microsoft Outlook and returns to the Microsoft Access form. To create a new contact item in Microsoft Outlook from a Microsoft Access form, follow these steps:
REFERENCES
For additional information about using Automation with Microsoft Outlook, please see the following articles in the Microsoft Knowledge Base:
209963
(http://support.microsoft.com/kb/209963/EN-US/
)
ACC2000: How to Use Automation to Add Appointments to Microsoft Outlook
209932
(http://support.microsoft.com/kb/209932/EN-US/
)
ACC2000: How to Use Automation to Add a Task or a Reminder to Microsoft Outlook
For more information about using Automation to work with other programs, click Microsoft Access Help on the
Help menu, type Automation, overview in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
| Article Translations
|

Back to the top
