"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
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.
Hi Diane,
Thank you for your response.
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Online Mode to Cached Exchange Mode problem Using Outlook 2
Z New minimum Outlook for Windows version requirements for Microsoft 365/Exchange Online Using Outlook.com accounts in Outlook 27
Commodore Automatic switch between working offline/online Using Outlook 4
M Outlook 2010 Outlook 2010 with O365 / Exchange Online Using Outlook 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 Using Outlook 1
L Online 3rd party backup of Office 365 cloud Using Outlook 5
R Enable Office 365 Exchange Online Archive Using Outlook 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
Diane Poremsky Cut the Clutter: Using Exchange Online’s Clutter Folder Using Outlook 0
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 Change from working offline to online Using Outlook 2
I Displaying my Online/Offline Status BCM (Business Contact Manager) 2
Y hosting BCM database at office online / workspace BCM (Business Contact Manager) 2
N Can business contact manager be hosted online? BCM (Business Contact Manager) 1
A Outlook 2016 in Cached Mode Using Outlook 1
N Shared mailbox in cached mode Using Outlook 0
W Receiving messages in offline mode Outlook VBA and Custom Forms 1
F "This action is not available in the current mode" Using Outlook 0
L Outlook Office 365 cached mode crashing Using Outlook 0
J Cached mode no longer works with NTLM authentication Exchange Server Administration 0
C Outlook 2016 Username Not Working in Scheduling Assistant (Cache Mode) Using Outlook 0
P Categorise emails on sending - macro not working in Preview mode Using Outlook 1
Diane Poremsky Say No! to Compatibility Mode Using Outlook 0
Diane Poremsky Outlook Only Starts in Safe Mode? Using Outlook 0
R Microsoft Outlook 2010 - Non Cached Mode Using Outlook 0
R Outlook won't run except in Safe mode problem Using Outlook 5
P Outlook in safe mode Using Outlook 2
B Configure Outlook so Exchange uses cached mode but new items are by default saved to Outlook.com Using Outlook 1
TMok Outlook 2010 nop responds after I resumed the Wins8 from sleep mode Using Outlook 0
J BCM Crashing with Add-in Enabled in User Mode BCM (Business Contact Manager) 2
R Outlook Cache Mode Terminalserver disable through Registry Using Outlook 1
G Why won't VBA see a copied calendar in cache mode anymore? Outlook VBA and Custom Forms 20
2 How to use outlook 2003 calendar in always offline mode Using Outlook 0
Jennifer Murphy Sync RSS feed message after Safe Mode Using Outlook 3
K Following Several Power Cuts Can Only work in Safe Mode Using Outlook 0
P Reply All does not work in Outlook 2010 Cached mode Using Outlook 4

Similar threads