"Online mode with Exchange server" vs "online"

Not open for further replies.


Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server

I have an issue with vba code when i use .getConversation.GetTable

If we are in mode "Online with Exchange server" or ""Connected to Microsoft Exchange" it's ok

But if we are just "Online" (when it's an Additional Mailbox), it's KO there is no line in the table.

additionnal Mailbox but "download shared folders" is uncheck

If i add an account for this mailbox , it's ok the mode is "Online with Exchange server"

What's the difference between "Online with Exchange server" and "online"
and why this code not get the same result ?

My code
Private Sub Test_Conversation()

    Dim oMail As Outlook.MailItem
    ' Obtain the current item for the active inspector.
    Set oMail = Application.ActiveInspector.CurrentItem
    Debug.Print "Email =" & oMail.subject
    Debug.Print "oMail class=" & oMail.Class
    MsgBox oMail.subject
    Dim oConv As Outlook.Conversation
    Dim oTable As Outlook.Table
    Dim oRow As Outlook.Row
    Dim oItem As Outlook.MailItem
    Const PR_STORE_ENTRYID As String = _

    'On Error Resume Next
    Debug.Print "oMail Is Nothing=" & (oMail Is Nothing)
    If Not (oMail Is Nothing) Then
        ' Obtain the Conversation object.
        Set oConv = oMail.GetConversation
        On Error Resume Next
        Debug.Print oConv.ConversationID
        On Error GoTo 0
        Debug.Print "oConv Is Nothing=" & (oConv Is Nothing)
        If Not (oConv Is Nothing) Then
        Set RootItems = oConv.GetRootItems
            Set oTable = oConv.GetTable
            Debug.Print "#1# nb de mail de la conversation=" & vbTab & oTable.GetRowCount
            oTable.Columns.add (PR_STORE_ENTRYID)
            Debug.Print "#2# nb de mail de la conversation=" & vbTab & oTable.GetRowCount
            Do Until oTable.EndOfTable
                Set oRow = oTable.GetNextRow
                ' Use EntryID and StoreID to open the item.
                Set oItem = Application.Session.GetItemFromID( _
                            oRow("EntryID"), _
                Debug.Print oItem.EntryID & vbTab & oItem.subject & vbTab & oItem.ReceivedTime
            Debug.Print "pas une conversation"
        End If
    End If
End Sub

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Conversations don't work correctly in shared mailboxes or shared folders and only the conversations in the current folder are shown (and it uses the subject to identify the conversation, not the conversation id).

I believe the differences better Online, and online with exchange is that online is not cached into it's own data file.


Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Hi Diane,
Thank you for your response.
Not open for further replies.
Thread starter Similar threads Forum Replies Date
D Potential Show Stopper for Exchange 2003 - 2010 Upgrade (Outlook 2003 SP 3 Online Mode & Exchange 2010) Exchange Server Administration 2
F Adding an additional mailbox so it comes up in online mode Using Outlook 2
T take online survey Outlook Wishlist 0
A .restrict results changing after moving to Exchange online Outlook VBA and Custom Forms 0
J Office 365 - Online Repair vs. Uninstall Reinstall Using Outlook 1
R Chancing / remove “ something ” in the subject, online archive Outlook VBA and Custom Forms 8
J VBA to switch Outlook online/offline Outlook VBA and Custom Forms 4
Brian Murphy Exchange Online Everything a Transport Rule should do and cannot Exchange Server Administration 1
Fozzie Bear Office 365 Home Premium with Exchange Online email accounts Using Outlook 3
J Outlook - 2013 - Error msg when copying folders from Online Archives to another user's mailbox Using Outlook 0
S Outlook [Online - Office365] perfomance is getting affected when accessing the mails using Redemptio Using Outlook 1
T Online Training for Outlook 2013 Using Outlook 0
Diane Poremsky Online Services in Outlook: Gmail, Yahoo, iCloud, AOL, GoDaddy New Slipstick.com Articles 1
L Online 3rd party backup of Office 365 cloud New Slipstick.com Articles 5
R Enable Office 365 Exchange Online Archive New Slipstick.com Articles 0
R Creating a Room Mailbox with Exchange Online Outlook VBA and Custom Forms 0
R Enable Office 365 Exchange Online Archive Using Outlook 6
G Linked (online) signature images Using Outlook 5
T Consollidating all calendars to Outlook online, even from POP3 email invitations. Using Outlook 2
Thomas Young Using On-Premises Exchange with Exchange Online Protection Exchange Server Administration 2
V Installing Apps from MS Online Store Using Outlook 5
J 2010 duplicate mailboxes, exchange online vs app data folder. Using Outlook 2
M There was a problem importing your contacts. (Online with Hotmail) Using Outlook 1
I Lync2010 - Outlook 2010 - Plan online meeting Using Outlook 2
P Exchange 2010 - Outlook 2010 : Search in Online Archive not working Exchange Server Administration 3
K Exchange 2007 user can't receive mails without going offline and then online again Using Outlook 8
J Online Archive / Auto Archive functionality Exchange Server Administration 3
P i am currently working offline and need to get back online Using Outlook 1
P i am currently working offline and need to get back online Using Outlook 1
C Online Archive Support MS Office 2010 Professional Using Outlook 2
K Viewing email online help please Using Outlook 1
A The cluster network name is not online Exchange 2010 sp1 DAG Exchange Server Administration 8
F Oulook 2010 (on exchange 2010): "Cannot open this item" after search in online archive on indexed ma Using Outlook 2
J Having problems subscribing to my Outlook calendar online Using Outlook 3
V Permissions to Online Archive Exchange Server Administration 1
M My Outlook stopped receiving emails but they still send (and my hotmail is working online fine).__ Using Outlook 1
K online archive missing Outlook 2010 Using Outlook 11
A Switching from Offline to Online in Outlook 2010 Using Outlook 1
B Retention policy for online archive itself. Exchange Server Administration 1
P MS Office 2010 my preferences is set on OFFLINE at the moment, how do I change it back to ONLINE Using Outlook 2
B purchased 2010 office and downloaded on a new netbook last night. trying to set up email on exchange server and get not online not connected. is there Using Outlook 1
J Easy archiving certain message in online archive? Outlook 2010 and exchange 2010 sp1 Exchange Server Administration 5
D 'microsoft office not online' Using Outlook 2
M Cluster IP failed and Cluster Network Name is not online Exchange Server Administration 17
A Syncing Outlook 2007 calendars - online to offline Using Outlook 1
S Restoring "Work online" to Outlook 2010 Using Outlook 2
M Toggle from Offline to online Using Outlook 1
K Cannot see online archive with Outlook 2007 / Office 2007 SBE Exchange Server Administration 8
B The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complet Using Outlook 6
M MS Exchange Online Service Exchange Server Administration 4
Similar threads