Andy Brown
asked on
Moving from Outlook to Exchange
I have a function (within VBA) that links to a folder in an Outlook inbox and reads the email subjects. However, we are now migrating to MS Exchange running on our local server and I cannot connect.
My current, local string is below, but I could really do with some help converting it for Exchange.
My current, local string is below, but I could really do with some help converting it for Exchange.
Dim ADOConn As ADODB.Connection
Set ADOConn = New ADODB.Connection
With ADOConn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString ="Exchange 4.0; MAPILEVEL=Personal Folders|Inbox\CompanyName\;PROFILE=OUTLOOK;DATABASE=C:\Users\UserName\AppData\Local\Temp\;"
End With
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great stuff - I got there in the end.
Glad I could help. Thanks for the points and grade.
ASKER