I have created an import of my e-mails in the Inbox. I tested it in a stand alone to make sure I could do it before adding it to my main database. When I added the code to my db it gave me an error of
Compile Error:
user defined type not defined.
Private Function Scanmail(SubjectLine As String)
Dim Inbox As Outlook.MAPIFolder
Dim OlApp As Outlook.Application
I did not get these errors when I had it in a database by itself.
What am I not doing correctly?
Thanks,
Mark
Compile Error:
user defined type not defined.
Private Function Scanmail(SubjectLine As String)
Dim Inbox As Outlook.MAPIFolder
Dim OlApp As Outlook.Application
I did not get these errors when I had it in a database by itself.
What am I not doing correctly?
Thanks,
Mark