thelordgiveth
New Member
- Joined
- Dec 31, 2021
- Messages
- 9
- Office Version
- 2019
- Platform
- Windows
An issue that has arisen in the last few weeks. I have a custom ribbon which executes VBA code in a .xlsm workbook, which is in a Trusted Location. When I try to execute from another workbook, I get the "Microsoft Office has identified a potential security concern. Automatic update of links has been disabled...." message. It doesn't tell me anything else. Neither the macro workbook nor the workbook I am actually in contains (or has ever contained) any links. The only "link" is that I am calling a macro.
The warning box gives me the choice of pressing Disable (which yields another helpful box reading "400") or Enable. If I press the latter, the macro runs and the .xlsm workbook loads (which it may always have done) and becomes visible and active (which it didn't do before). I minimise the .xlsm workbook and can then continue to execute any of the macros called by the ribbon buttons from any number of workbooks without any more warning messages appearing. Unless I close the macro workbook (or of course start a freshg Excel session).
It is only a minor annoyance (as long as I don't run the macro with the wrong workbook active!) but I don't like not understanding why this is happening and in particular why it has started to happen now. Dodgy software update?
The warning box gives me the choice of pressing Disable (which yields another helpful box reading "400") or Enable. If I press the latter, the macro runs and the .xlsm workbook loads (which it may always have done) and becomes visible and active (which it didn't do before). I minimise the .xlsm workbook and can then continue to execute any of the macros called by the ribbon buttons from any number of workbooks without any more warning messages appearing. Unless I close the macro workbook (or of course start a freshg Excel session).
It is only a minor annoyance (as long as I don't run the macro with the wrong workbook active!) but I don't like not understanding why this is happening and in particular why it has started to happen now. Dodgy software update?