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

Outlook-Exchange bug???



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 29th 09, 11:45 AM posted to microsoft.public.outlook.program_vba
Alberto[_2_]
external usenet poster
 
Posts: 28
Default Outlook-Exchange bug???


Hello I'm just running this simple macro through a button to move to a
folder of a shared mailbox.

Sub Proc1()

Dim MyFolder As MAPIFolder
Set MyFolder = GetFolder("Postfach - SharedMailbox\FolderA") Sue's function
Set Outlook.Application.ActiveExplorer.CurrentFolder = MyFolder

End Sub

The macro works fine except in a case: when clicking on the button and until
that moment the user didn't had no interaction with the shared mailbox. If
this condition happens then the user goes to the folder but no preview pane
is available, it becomes grey. You can open the items but you have to restart
Outlook to view the folder properly. You don't see the preview pane and when
you click on properties of the folder you experience problems.

A "solution" for this problem is that the user must at least perform an
action with the involved shared mailbox (OR) others shared mailboxes in the
server like just clicking on a folder (no matter which one) and after that
the macro runs perfectly and you go to the folder and can see the preview
pane. I have tried to run programmatically an operation which involves the
mailbox like a GetItemFromID to try to "wake up" the sharedmailbox befor i
run the macro but still having the same problem.

So the question is how can i programmatically performs some kind of
operation so i can run the macro without problems anytime.


Using Outlook 2003,
Exchange also 2003 (6.5) but not sure at this moment.

Thanks again for the attention...



 




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
How to export custom form from exchange 2003 to exchange 2007 Miles Outlook - Using Forms 2 April 2nd 09 05:13 AM
Outlook 2007 Contact Import - Exchange to No Exchange Server SimpleProblems Outlook - Using Contacts 1 February 17th 09 05:50 AM
Problem between Outlook 2007 Exchange and Outlook 2003 Exchange sharing calendars LaborGuyRJ Outlook - Calandaring 1 October 13th 08 06:48 PM
Outlook Sends Non Exchange POP3 Mail Using Exchange, 553 rcphostserror results... sdelap Outlook - General Queries 0 January 10th 08 10:20 PM
Wrong Type of Exchange mail... How to change pst -- exchange serv Maitoparta Outlook - Installation 2 June 1st 07 05:46 AM


All times are GMT +1. The time now is 03:44 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.