Results 1 to 4 of 4

Thread: Outlook VBA script is not running automatically

  1. #1

    Outlook VBA script is not running automatically

    I have added below VBA script in my outlook modules to save the attachments when it comes to a specific email group with the specific subject line. However, it's not running automatically. I received the email attachment, but it does not save the attachment in my computer folder. When I click on manage Rules and Alerts in outlook and run it manually then only, it will save the attachments. I have set the Macro setting to "Enable all macros".
    Can you please help me? Thanks in advance!
    Last edited by Aussiebear; Yesterday at 04:29 PM.
    - Gillian -

  2. #2
    Administrator VBAX Master georgiboy's Avatar
    Mar 2008
    Kent, England
    Hi gillianjack, welcome to the forum.

    Did you intend to post some VBA?

    Is this going to be a rule or automatic running of VBA?
    Click here for a guide on how to add code tags
    Click here for a guide on how to mark a thread as solved
    Click here for a guide on how to upload a file with your post

    Excel 365, Version 2405, Build 17628.20102

  3. #3
    Banned VBAX Newbie
    Jul 2024
    To run this macro automatically you can consider the following factors:
    Create a rule in Outlook to run the macro when a new email arrives matching your criteria (sender, subject).
    Ensure the macro is enabled in Outlook's macro security settings.
    Test the rule by sending a test email.
    Last edited by georgiboy; Yesterday at 06:14 AM. Reason: Removed spam

  4. #4
    You may need to manually enable the ability to Run a Script with an Outlook rule. You can find the instructions to do this here Run-a-Script Rules Missing in Outlook (

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts