I am trying to open Outlook from within Access to extract and load attachments. I am getting an "Error in loading DLL" when first trying to start Outlook.
Global OutLk As New Outlook.Application
Global BuzzsawFldr As Outlook.MAPIFolder
Global BuzzsawProcessedFldr As Outlook.MAPIFolder
Global NewMail As Outlook.MailItem
Global MailAttmnt As Outlook.Attachment
Set OutLk = Outlook.Application
Set BuzzsawFldr = OutLk.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("Buzzsaw")
Set BuzzsawProcessedFldr = OutLk.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("BuzzswProcessed")
I get the error message on the Set Outlk statement. I have the Microsoft Outlook Object Library referencse set.
How do I determine which DLL is causing the issue and what library it is referenced in?
Thanks,
Jim
Global OutLk As New Outlook.Application
Global BuzzsawFldr As Outlook.MAPIFolder
Global BuzzsawProcessedFldr As Outlook.MAPIFolder
Global NewMail As Outlook.MailItem
Global MailAttmnt As Outlook.Attachment
Set OutLk = Outlook.Application
Set BuzzsawFldr = OutLk.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("Buzzsaw")
Set BuzzsawProcessedFldr = OutLk.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("BuzzswProcessed")
I get the error message on the Set Outlk statement. I have the Microsoft Outlook Object Library referencse set.
How do I determine which DLL is causing the issue and what library it is referenced in?
Thanks,
Jim