Consulting

Results 1 to 4 of 4

Thread: Outlook VBA script is not running automatically

  1. #1

    Outlook VBA script is not running automatically

    Hello,
    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; 07-23-2024 at 04:29 PM.
    - Gillian -

  2. #2
    Administrator VBAX Master georgiboy's Avatar
    Joined
    Mar 2008
    Location
    Kent, England
    Posts
    1,258
    Location
    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 2408, Build 17928.20080

  3. #3
    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; 07-23-2024 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 (slipstick.com)

Posting Permissions

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