How to create a rule in vba

  • Thread starter Thread starter Ian Baker
  • Start date Start date
I

Ian Baker

Hi
I am creating an Access 2003 db that interacts with Outlook. What I need to
do is when the db starts up for the very first time after it is installed it
will have to create an Outlook folder and then create a Rule in Outlook to
move all incoming mail from then on that has eg "abc123" in the subject line
into that new folder. Each time the db starts up after that it will import
all the messages from that folder into the db and then delete them from
Outlook. I thought it would be a far more efficient way of getting certain
emails then to have to go through the entire inbox looking for a subject
match and then importing it.

I can create the code that creates the Outlook Folder but that's as far as I
can get.
 
Back
Top