How to create a rule in vba


Ian Baker

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.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question