Hello, I receive certain emails throughout the day that I always have to print both the email and the attachment.
Currently, I have a rule set up in Outlook that will move emails with specific text in the body to a folder in my inbox called OS&D. That text is "Please see the attached O/S & D". Also, the attachment title would look like as follows: "021-047019-00-01 OSD PO 01-09-25". The numbers always change in the attachment name, but the text "OSD PO" is always the same if that helps any for coding purposes. Ultimately (between outlook rules and possibly VBA if it can be done) what I'd really like to do from start to finish is as follows:
1. The specific Email is received
2. Email gets moved from Inbox to OS&D folder
3. Email and attachment both automatically get printed
4. Email is marked as read and moved to the deleted items folder
I've never used VBA in Outlook before, but I was wondering if it was possible to do this automatically as the emails arrive if someone might have some code for this? Is there anything also that I'd need to alter in the rules or create a new rule entirely?
Bookmarks