The easiest and most complete way would be to add that mailbox to your
Outlook profile so it gets opened as soon as you open Outlook. That's a
non-code solution.
If you just want to get a specific default folder open you should look at
the Object Browser help on NameSpace.GetSharedDefaultFolder().
"lizlexy" <lizlexy> wrote in message
news:CC04343F-86FE-4D18-987F-1426223DBD4F@microsoft.com...
> I'm trying to find code to create a macro to open another user's mailbox
> which I have access to. Please can you help?
> Thanks!
>
I need to do this as well, but sorry to be dense - I don't understand how to go about it. Say I add the mailbox to the profile, and open Outlook with that profile. Then I have multiple mailboxes. Now I am using VBA code from Access as follows:
Set oFolder = Outlook.Application.Session.GetDefaultFolder(olFolderInbox)
How can I identify which mailbox is which? Also, does the other user have to specifically share the mailbox? Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.