A
Alberto
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...
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...