When I used to work with Excel (2 decades ago), I was able to press shift and click an Excel file to prevent running the code in Workbook_Open sub.
But it seems it doesn't work anymore.
I've tried shift+double clicking the icon
And
Launching Excel, going to File in ribbon and Open tab, then shift+clicking the file name in the list.
In any case the code is executed.
I have to change trust settings anytime I need to edit the sub.
How can I open an Excel book and prevent the code in Workbook_Open sub being executed?
Office 365
Windows 11
Thanks.
But it seems it doesn't work anymore.
I've tried shift+double clicking the icon
And
Launching Excel, going to File in ribbon and Open tab, then shift+clicking the file name in the list.
In any case the code is executed.
I have to change trust settings anytime I need to edit the sub.
How can I open an Excel book and prevent the code in Workbook_Open sub being executed?
Office 365
Windows 11
Thanks.