DigiCruncher

Crunching Digital Bytes

  • Home
  • Gadgets
  • Internet
  • Saas
  • Windows
  • Software
  • Tech
  • About Us
  • Contact Us
You are here: Home / Software / How To Automatically Save Attachments In Outlook? – Set An Outlook Rule

How To Automatically Save Attachments In Outlook? – Set An Outlook Rule

May 7, 2021 by Sanmay Chakrabarti 3 Comments

Outlook is a great email client, and it takes care of all my emails. I receive plenty of emails with attachments and it becomes annoying to manually download them one by one. So, I tried to find a solution and found that users can set an Outlook rule to make it automatically save attachments.

I know that there are other users who will also appreciate this method. That’s why in this article I have discussed how to automatically save attachments in Outlook.

Also, if your Outlook emails get stuck in outbox, here is how you can fix it.

How To Automatically Save Attachments In Outlook?

Contents

To make Outlook download all the email attachments you need to create an Outlook rule for it. First, you will have to set up a VGA script and then create an Outlook rule to save attachments for the VBA script. So, here is how to automatically save attachments in Outlook.

1) Create The VBA Script For Saving Attachments On Outlook

To create the VBA script, follow the steps given below:

  1. Press the Alt + F11 keys to open the Microsoft Visual Basic window.
  2. Click on the Insert tab and select the Module option to open a new module window.
  3. Write or copy the following VBA script and paste it in the module window:
    Public Sub SaveAttachmentsToDisk(MItem As Outlook.MailItem)
    Dim oAttachment As Outlook.Attachment
    Dim sSaveFolder As String
    sSaveFolder = “
    C:\Users\Sanmay\Documents\Outlook Attachments”
    For Each oAttachment In MItem.Attachments
    oAttachment.SaveAsFile sSaveFolder & oAttachment.DisplayName
    Next
    End Sub
  4. The path “C:\Users\Sanmay\Documents\Outlook Attachments” path is the path to the folder for saving the attachments. You will have to replace it with the path to the folder you want to save the attachments.
  5. Now, save the VBA script and close the window. 

2) Setting Up Outlook Rule To Save Attachment

Once you have created the VBA script, it is time to set up the Outlook rule to save attachments. Follow the steps given below to do it:

  1. Open Outlook and click on the Rules option from the ribbon.
  2. Select the Manage Rules and Alerts option. This will open the Rules and Alerts window.
  3. Click on the New Rule option.
  4. Select the Apply rule on message I receive option and click on Next. This will open the Rules Wizard dialog.
  5. Check the Run a script box and click on the “a script” option to open the Select Script dialog.
  6. Select the download attachment script from the Select Script window and click on OK.
  7. Write a title for the rule and select the Turn on this rule option.
  8. Also, select the Run this rule now on messages already in the Inbox option to apply the rule for all the attachments currently present in your inbox. If you have already downloaded the attachments in your inbox, then avoid this option.
  9. Select the Finish option to save the rule.

After you have completed the above steps, Outlook will now automatically save the attachments sent to you, directly in the folder you mentioned in the path of the VBA script.

Wrapping Up

So, there you have it. Now you know how to automatically save attachments in Outlook. Follow the above steps carefully, especially while creating the VBA script. I would suggest you copy-paste the VBA script as given. If you have any further questions related to this article, ask them in the comment section below.

Filed Under: Software Tagged With: Automatically Save Attachments In Outlook

About Sanmay Chakrabarti

Sanmay is a Tech enthusiast. He has been troubleshooting PC issues for 6 years and writing about them for 4. Reading books, traveling to new places and listening to music are some of his favorite hobbies.

Comments

  1. Normand Branconier says

    December 21, 2021 at 9:39 pm

    This option is not in office 365

    Check the Run a script box and click on the “a script” option to open the Select Script dialog.

    Reply
  2. Beverley says

    March 14, 2022 at 2:04 pm

    I have the same issue – running Office 365 how can we select ‘Run a script’ to perform the action?

    Reply
  3. Conor says

    September 7, 2022 at 11:55 am

    Thank you for sharing this article. It helps me a lot.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Digicruncher_Twitter_handle Digicruncher_Facebook_handle Digicruncher_pin_handle Digicruncher_Rss_Feed

Recent Posts

  • Your In Browser Storage For Mega Is Full – How To Resolve?
  • MTG Arena Invalid Command Line Error – 2 Easy Fixes
  • The Creative Toolbox: Innovations in Visual Storytelling
  • Easy Fixes: Audio Render Error
  • How To Fix System 5 Error Has Occurred On Windows?

21 shares