View Single Post
  #1  
Old May 19th 07, 10:58 PM posted to microsoft.public.outlook.program_vba
RenaatLanduyt
external usenet poster
 
Posts: 2
Default Few questions about VBA in outlook -difficult.

I have two minor questions about outlook macro’s or VBA code:

1/
I have two mailboxes: one shared for my bureau, and one personal mailbox. I
almost never check the bureau-mailbox, but sometimes it contains important
mails.
I want to do the following: forward all the mails that are send to the
bureau-mailbox and NOT to my personal mailbox.
Note however that sometimes my address is a part of a group (eg. My mail
address is a member of ”).

How can I make such a code which runs automatically on every incoming mail?
Is it correct that this should be VBA code and not a macro?

We’re using MS-exchange, outlook 2003.

2/
I have a huge *.pst file with a entire tree of folders.
Some identical mails appear in different folders. This is OK.
Some identical mails also appear in the same folder. This is not OK.
I want to make code that searches in each folder and removes the duplicates
in the folder. The “cross-folder-duplicates” should not be removed.
I searched a lot already, because I supposed such a macro should be on the
internet, but I didn’t found any.

Thanks in advance.

Ads