Detecting the type of items for a folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When a new folder is setup there's a prompt asking for the type of items that
will generally be stored in it. Is there a way to retrieve this using VBA?
 
Take a look at the MAPIFolder.DefaultItemType property (Folder in Outlook 2007).
 
Thx. For my folder home page that uses the OVC, I'm entertaining the idea of
providing my users with a comboBox that allows them to change the folder
being displayed from their Inbox to any one of a list of folders containing
MailItems using a comboBox. I'm still debating it since the folders can be
nested and can across different stores (correct term?).
 
Yes, your terminology is correct. Folders can be created in different stores
- whether they are .psts or Exchange Mailboxes.

If you are using Oultook 2003 or greater, you may want to turn your users on
to Search Folders. They are excellent for viewing items from many different
folders in one spot.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 
Thank you for that. I haven't played with Search Folders until just now and
really like the idea of doing that pulls all messages (MesageClass contains
IPM.NOTE) and then grouping by the In Folder field.
 
Back
Top