About 73,700 results
Open links in new tab
  1. How do I disable and enable macros on the fly? - Stack Overflow

    As far as I know, you can't enable / disable macros from an opened workbook on the fly. Yet, you shouldn't have to because macros are only triggered thanks to a user click.

  2. excel - Open a workbook from VBA and disable Workbook_Open …

    Oct 8, 2015 · Here another way to open with out the vba Start Excel Application > Go to File > Recent > Hold Shift key and double click to open - Doing this will prevent the Workbook_Open …

  3. excel - Prevent autorun VBA code when opening a file - Stack …

    Jul 19, 2017 · To prevent autorun VBA code like Workbook_Open or Auto_Open click File › Open from the menu/ribbon, select your file and hold down the shift key when you click the Open …

  4. excel - Enable Macros via Powershell - Stack Overflow

    Feb 17, 2015 · 2 I have a Powershell script that creates an Excel File, and within that runs a macro to embed an OLEObject. This is going to be used by field engineers and therefore on …

  5. How to open an Excel Workbook with Macros Disabled in …

    Jan 11, 2023 · 0 I'm trying to write a PowerShell script to scan a path for an Excel file (.xlsm) containing a specific string. The script I'm working on currently opens the files with macros …

  6. Disable all dialog boxes in Excel while running VB script?

    'Disable all macros with notification' This setting prevents macros from running. However, if there are macros in a workbook, a pop-up is displayed, to warn you that the macros exist and have …

  7. Digitally signed my macro and it still won't run in excel

    Aug 1, 2017 · 3 I have made a VBA script in an Excel file. I don't want to allow all scripts to run because of security reasons so I set my Excel to work with Disable all macros except digitally …

  8. How to open an excel without running the Workbooks.Open …

    So in future if I want to edit that excel, how can i open it without triggering the call? My initial intention was to use command line to run the vba function everyday and send that report …

  9. excel - Getting a .xlsm file to not execute code when being …

    Aug 17, 2018 · Disables all macros in all files opened programmatically without showing any security alerts. Note This setting does not disable Microsoft Excel 4.0 macros. If a file that …

  10. vba - Disable macro in open workbook - Stack Overflow

    Jun 3, 2015 · But sometimes Excel considers a workbook trusted and I don't get this question. In these cases, when a workbook has been opened and macros have been enabled …