susan beeston weiland
Member
- Outlook version
- Outlook 2010 32 bit
- Email Account
- IMAP
Thanks for the wonderful educational post on saving attachments to the hard drive, Diane! I tried to post this question under that stream, but kept getting errors, so decided to try this method.
I am new to VBA with Outlook.
I am trying to make a rule that runs on message arrival to save all attachments to a folder.
I pasted in the code for “run a script rule to save attachments” as specified into the VBA editor and
I created the following rule called save attachments on arrival:
Apply this rule when the message arrives
which has an attachment
and on this computer only
run Project1.ThisOutlookSession.SaveAttachments
Unfortunately, the rule does NOT run on arrival of the message. It DOES work perfectly when the rule is run manually.
I am trying to solve a problem for a small client who has been using Eudora for years and Eudora automatically saves every attachment to an Attachment directory on arrival. This VBA rule script seems like it could be the simplest solution to make Outlook feel more like Eudora, if I can reliably make it run on arrival. Also I would need to be able to set up this rule with this script on multiple computers that currently do not have VB installed. Is this even possible?
I am still testing the Eudora environment to understand how it handles attachments of the same name and signatures, but I have not completed that assessment yet.
I am using VBA 2015 Community in a Windows 7 environment running Outlook 2010.
Thanks for your help!
I am new to VBA with Outlook.
I am trying to make a rule that runs on message arrival to save all attachments to a folder.
I pasted in the code for “run a script rule to save attachments” as specified into the VBA editor and
I created the following rule called save attachments on arrival:
Apply this rule when the message arrives
which has an attachment
and on this computer only
run Project1.ThisOutlookSession.SaveAttachments
Unfortunately, the rule does NOT run on arrival of the message. It DOES work perfectly when the rule is run manually.
I am trying to solve a problem for a small client who has been using Eudora for years and Eudora automatically saves every attachment to an Attachment directory on arrival. This VBA rule script seems like it could be the simplest solution to make Outlook feel more like Eudora, if I can reliably make it run on arrival. Also I would need to be able to set up this rule with this script on multiple computers that currently do not have VB installed. Is this even possible?
I am still testing the Eudora environment to understand how it handles attachments of the same name and signatures, but I have not completed that assessment yet.
I am using VBA 2015 Community in a Windows 7 environment running Outlook 2010.
Thanks for your help!