GetDefaultFolder other mailbox

S

stokefolk

Hi,

I'm using Outlook 2003 in an Exchange 2003 environment. We have a group
mailbox which is used by all members of a team, and is added to their
outlook profile as an additional mailbox. I am trying to write an excel
macro to pull certain properties from every mail into a spreadsheet

So far, I've got everything working fine, as long as the Group Mailbox
is opened as the primary mailbox, with the macro determining the folder
to use by using GetDefaultFolder(olFolderInbox). However, I'd like to
get it to select "Group Mailbox\Inbox" as the folder, when Group
Mailbox is opened as an additional mailbox.

Is this possible?
 
S

Sue Mosher [MVP-Outlook]

Use GetSharedDefaultFolder instead of GetDefaultFolder.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top