Enabling macros by using VBA code

  • Re: Enabling macros by using VBA code


    Quote from ssmilu;797340

    Is it possible to run a vba code to enable the macros and before exit the worksheet disable the macros.


    Hello,


    The short answer in No ... since this is considered as a crucial security issue by Microsoft ...


    You do need to set your Excel Options accordingly ...


    Hope this will help

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

  • Re: Enabling macros by using VBA code


    Note that while you can set your computer to automatically enable macros, you cannot create a workbook that will automatically have macros enabled when run on other's machines.

  • Re: Enabling macros by using VBA code


    "mikerickson "Yes you are right. Thats the reason i wanted a code in VBA to enable and disable to macros. But i think it is not possible.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!