Hello,
First of all I want to say that I have done some research on the forum, and can't seem to find any solution to my problem. As my Outlook is of newer version and that it is 64-bit instead of 32-bit.
This is my challenge:
I receive daily a lot of emails with attachments that I want to print out. The attachments are both in .xlsx and .pdf format.
I tried to make a rules that said print out every email with "invoice" in the subject or body. However, that printed only the body of the email, and not the attachments, which is what I want.
I am currently using office proffesional plus 2016. 64-bits version.
Can anyone help me with this? I'm trying to learn VBA. But I currently don't have a lot of time to practice, so if anyone know where I can find such a script. Or help me out, I would be forever grateful.
Macro to Print Outlook email attachments as they arrive
Print Attachments Automatically - VBOffice
I found these links. But they are for 32-bit, and older Outlook versions.
I don't want to try the script before I am entirely sure its correct for my environmeny. In case it suddenly prints out all the attachments in all folder.
Question 1: How would a script like this look like. Any code examples?
Question 2: If I activate a script, is it enough if I choose the folder it will operate in, within the rules menu? Or does the folder have to be hard coded? I want this script to only operate within a certain shared subfolder.
-----------------
The process looks like this:
1. Find all the attachments in a chosen mailbox, with some chosen keywords in the body/subject field.
2. Print all these attachments.
3. Move the mail to a different mailbox after it has printed the attachment. (Can this be done in the same rule? Just add "move" after "run script")
Thanks,
First of all I want to say that I have done some research on the forum, and can't seem to find any solution to my problem. As my Outlook is of newer version and that it is 64-bit instead of 32-bit.
This is my challenge:
I receive daily a lot of emails with attachments that I want to print out. The attachments are both in .xlsx and .pdf format.
I tried to make a rules that said print out every email with "invoice" in the subject or body. However, that printed only the body of the email, and not the attachments, which is what I want.
I am currently using office proffesional plus 2016. 64-bits version.
Can anyone help me with this? I'm trying to learn VBA. But I currently don't have a lot of time to practice, so if anyone know where I can find such a script. Or help me out, I would be forever grateful.
Macro to Print Outlook email attachments as they arrive
Print Attachments Automatically - VBOffice
I found these links. But they are for 32-bit, and older Outlook versions.
I don't want to try the script before I am entirely sure its correct for my environmeny. In case it suddenly prints out all the attachments in all folder.
Question 1: How would a script like this look like. Any code examples?
Question 2: If I activate a script, is it enough if I choose the folder it will operate in, within the rules menu? Or does the folder have to be hard coded? I want this script to only operate within a certain shared subfolder.
-----------------
The process looks like this:
1. Find all the attachments in a chosen mailbox, with some chosen keywords in the body/subject field.
2. Print all these attachments.
3. Move the mail to a different mailbox after it has printed the attachment. (Can this be done in the same rule? Just add "move" after "run script")
Thanks,