Article ID: 158941 - Last Review: January 19, 2007 - Revision: 3.3 ACC: How to Load OLE Objects from a Folder into a TableThis article was previously published under Q158941 Moderate: Requires basic macro, coding, and interoperability skills.
On This PageSUMMARY
This article shows you how to automatically append all files with a
particular extension from a specified folder on the hard disk into a table.
This routine is good for loading OLE objects, such as .gif, .jpg, .doc,
.xls, or .bmp files that are associated with an OLE Server, into a
Microsoft Access database.
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 your version of the "Building Applications with Microsoft Access" manual. NOTE: To associate a graphic file with an OLE Server, open it with an OLE Server package such as Microsoft Imager or Microsoft Paint, and save the file. For information about working programmatically with an OLE object in a form in Microsoft Access version 2.0, please see the following article in the Microsoft Knowledge Base: 114214
(http://support.microsoft.com/kb/114214/EN-US/
)
ACC2: How to Programmatically Embed or Link an Object in a Form
MORE INFORMATIONMethod to Import OLE Object Files
| Article Translations
|


Back to the top
