In principle, yes. You might start with the VBA help and look for the
AdvancedSearch function. If you get that running, it returns a Search
object, which can be saved.
--
Best regards
Michael Bauer - MVP Outlook
: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Wed, 25 Jun 2008 05:24:01 -0700 schrieb Midwest Muskie:
> I would like to be able to programatically create search folders for all
of
> my users. Is there a way to do this? We are going to be trying to phase
in
> an email archive solution. I would like to use the search folders to help
> our users focus on archiving existing email based on age. For example,
the
> first stage may be asking them to focus on all email older than 2 years.
> Having a search folder that identifies all email older than 2 years would
be
> a great help. They would be given a set amount of time to focus on
getting
> the old messages archived before moving on to newer items. Rather than
> requiring all users to create their own search folders, I would like to be
> able to roll them out automatically somehow as needed.
>
> Any ideas will be appreciated.
>
> Thanks,
> Mike
|