Hi guys
I'm a newbie and have been maintaining and enhancing an existing database in Access 2007.
I need to "link" an Outlook Inbox to a table so that I can search and find emails belonging to a specific customer when required.
I cannot use the "External Data" functionality as I keep getting the following error message:
Object or Class does not support the set of events
I have spent many many hours Googling and searching numerous forums to solved the error to no avail.
I decided to take a different approach and to try to use VBA code within Access to do what I need to o.
I found the following code that enables me to read the Outlook Inbox but that's about it.
Set golApp = Outlook.Application
Set gnspNameSpace = golApp.GetNamespace("mapi")
Set MAPIFolder = gnspNameSpace.GetDefaultFolder(olFolderInbox)
For Each Item In MAPIFolder.Items
MsgBox Item.Subject
Next
So, my question is this, can somebody please provide me with VBA code to enable me to "link" an Outlook Inbox to an Access 2007 table?
I will be forever grateful!
Thanks for any help you can provide.
Regards
Greg
I'm a newbie and have been maintaining and enhancing an existing database in Access 2007.
I need to "link" an Outlook Inbox to a table so that I can search and find emails belonging to a specific customer when required.
I cannot use the "External Data" functionality as I keep getting the following error message:
Object or Class does not support the set of events
I have spent many many hours Googling and searching numerous forums to solved the error to no avail.
I decided to take a different approach and to try to use VBA code within Access to do what I need to o.
I found the following code that enables me to read the Outlook Inbox but that's about it.
Set golApp = Outlook.Application
Set gnspNameSpace = golApp.GetNamespace("mapi")
Set MAPIFolder = gnspNameSpace.GetDefaultFolder(olFolderInbox)
For Each Item In MAPIFolder.Items
MsgBox Item.Subject
Next
So, my question is this, can somebody please provide me with VBA code to enable me to "link" an Outlook Inbox to an Access 2007 table?
I will be forever grateful!
Thanks for any help you can provide.
Regards
Greg