Article ID: 253794 - Last Review: November 24, 2006 - Revision: 4.3 OL2000: How to Programmatically Export Items to Microsoft AccessThis article was previously published under Q253794 On This PageSUMMARY
This article provides an overview and sample code for importing Outlook contact information into an Access table. The sample code
in the "More Information" section of this article should be run from an Access global module. The code provides a starting point for the development of a complete solution.
MORE INFORMATION
The Import and Export command in Outlook does not allow you to import or export information in user-defined fields (or properties). To export information from these fields, you may need to create a programming solution that uses automation to convert the information. NOTE: One alternative to creating code to export user-defined fields is to add all of the fields to a table view in Outlook. You can then select all of the data and copy and paste it into Microsoft Excel. The following sample code converts Outlook contact information into Access database table rows. With modifications, you can use this code as a basis for importing other types of Outlook items, such as appointments, notes, tasks, and so on. There is also an overview and separate code example available on the Microsoft Web site at the following location: http://msdn2.microsoft.com/en-us/office/aa905351.aspx
(http://msdn2.microsoft.com/en-us/office/aa905351.aspx)
Programming Considerations
If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) Sample CodeREFERENCESFor additional information about how to programmatically import contacts from Microsoft Access, click the article number below
to view the article in the Microsoft Knowledge Base:
208232
(http://support.microsoft.com/kb/208232/EN-US/
)
OL2000: How to Programmatically Import Items from MS Access
For additional information about how to programmatically import contacts from Microsoft FoxPro, click the article number below
to view the article in the Microsoft Knowledge Base:
269617
(http://support.microsoft.com/kb/269617/EN-US/
)
HOWTO: Automatically Add Contacts to Outlook
For additional information about available resources and answers to commonly asked questions about Outlook solutions, click the article number below
to view the article in the Microsoft Knowledge Base:
146636
(http://support.microsoft.com/kb/146636/EN-US/
)
OL2000: Questions About Custom Forms and Outlook Solutions
| Article Translations
|
Back to the top
