+ Reply to Thread
Results 1 to 2 of 2

Run script to automatically enable macros to bypass Security Prompt

  1. #1
    Forum Contributor heytherejem's Avatar
    Join Date
    07-06-2017
    Location
    Hampshire, England
    MS-Off Ver
    2016
    Posts
    152

    Run script to automatically enable macros to bypass Security Prompt

    Hello!

    So this relates to a company computer, so I can't change security settings - but I have this macro I use a fair amount to perform a short-cut task. However, every time I run it, I have to select 'Enable Macros' from the Windows Security Alert prompt.

    Infuriating.

    Any work-around to this? Some top-secret code I can add to my macro to somehow enable itself before it's even run??

    Here's hoping.....

    Jemma

  2. #2
    Registered User
    Join Date
    10-12-2015
    Location
    Bristol, UK
    MS-Off Ver
    Office 365
    Posts
    39

    Re: Run script to automatically enable macros to bypass Security Prompt

    I am also on a company network, and going in manually through Excel Advanced Options - Trust Centre Settings shows the macro settings greyed out.

    However,
    Please Login or Register  to view this content.
    still works in VBA (call the macro after this line) - just need to remember to switch it back to
    Please Login or Register  to view this content.
    afterwards.

    Not sure if this solves it for your corporate network but worth a try if you haven't already.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macros won't run, doesn't prompt me to enable macros anymore
    By trfountain22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2015, 01:34 PM
  2. 'Enable Macros' prompt not coming.
    By Kiran2012 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2013, 09:24 AM
  3. Excel 2007: prompt to enable macros option no longer exisits
    By mcguinnessdave in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2012, 06:16 AM
  4. Enable Macros: Security Warning
    By dkub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2011, 11:37 AM
  5. Replies: 5
    Last Post: 01-20-2011, 11:59 AM
  6. Excel 2007 : Macros enable/disable Security Warning
    By mcmuney in forum Excel General
    Replies: 2
    Last Post: 09-14-2010, 08:35 PM
  7. Enable Macros window does not pop up. Security Medium
    By miguel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2006, 09:45 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1