A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Unable to enumerate Mailboxes in NON Cached Mode (if more than 2)



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 16th 09, 02:48 PM posted to microsoft.public.outlook.program_vba
stefanom74
external usenet poster
 
Posts: 5
Default Unable to enumerate Mailboxes in NON Cached Mode (if more than 2)

I don't know if it is a bug, but writing this code in a VBA Macro something
strange happens:
If I have mailboxes in my Outlook 2007 in Cached Mode everything works fine,
but if I'm not in Cached Mode I receive an "Automation Error", any idea?

Dim store As store

For Each store In Application.Session.Stores

MsgBox (store.DisplayName)

Next


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Appointments and Cached Mode Delores Outlook - Calandaring 1 September 10th 08 08:56 PM
Configure cached mode for additional mailboxes configured on a pro Doria Outlook - Installation 0 May 8th 08 01:51 PM
Cached Mode for "Other Mailboxes" + Exchange Hasan Sheriff[_2_] Outlook - General Queries 1 January 17th 08 02:37 AM
Outlook 2007 cached mode with additional mailboxes [email protected] Outlook - General Queries 1 August 13th 07 03:04 PM
Unable to use out look with Cached Exchange Mode enabled [email protected] Outlook - General Queries 6 October 26th 06 03:00 AM


All times are GMT +1. The time now is 04:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.