Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Moving from Outlook to Exchange

Posted on 2010-09-16
4
Medium Priority
?
462 Views
Last Modified: 2012-05-10
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.
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

Open in new window

0
Comment
Question by:Andy Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
puppydogbuddy earned 2000 total points
ID: 33692399
Hi Andrew,
Hope this helps.
see the final post at this link for code snippet for connecting to exchange server:
http://www.vbforums.com/archive/index.php/t-431916.html
 
The article at this link, although dated, has still relevant background info that you should read.
http://www.msexchange.org/tutorials/Connecting_POP_And_IMAP_Clients_To_MS_Exchange_Server.html

This link shows steps with screenshots to maually connect to Exchange 2003 for calendar sharing, etc.
http://office.microsoft.com/en-us/outlook-help/share-and-open-other-people-s-folders-HA001113481.aspx

In case you are interested, this link reviews all the new features built into Exchange 2007:
http://www.microsoft.com/exchange/2010/en/us/exchange-2007-features.aspx
0
 

Author Comment

by:Andy Brown
ID: 33693343
Thanks - as always (hope you are keeping well).  I'll give it a try tomorrow at some point.
0
 

Author Closing Comment

by:Andy Brown
ID: 33714366
Great stuff - I got there in the end.
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 33715234
Glad I could help.  Thanks for the points and grade.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
how to add IIS SMTP to handle application/Scanner relays into office 365.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question