![]() |
Detecting the type of items for a folder
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? |
Detecting the type of items for a folder
There sure is - MAPIFolder.DefaultItemType.
-- 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/ "dch3" wrote: 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? |
Detecting the type of items for a folder
Take a look at the MAPIFolder.DefaultItemType property (Folder in Outlook 2007).
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "dch3" wrote in message ... 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? |
Detecting the type of items for a folder
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?). "Eric Legault [MVP - Outlook]" wrote: There sure is - MAPIFolder.DefaultItemType. -- 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/ "dch3" wrote: 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? |
Detecting the type of items for a folder
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/ "dch3" wrote: 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?). "Eric Legault [MVP - Outlook]" wrote: There sure is - MAPIFolder.DefaultItemType. -- 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/ "dch3" wrote: 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? |
Detecting the type of items for a folder
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. "Eric Legault [MVP - Outlook]" wrote: 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/ "dch3" wrote: 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?). "Eric Legault [MVP - Outlook]" wrote: There sure is - MAPIFolder.DefaultItemType. -- 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/ "dch3" wrote: 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? |
All times are GMT +1. The time now is 08:18 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com