Hello Hugh Suter
Welcome to the Microsoft community.
Based on the current description, it appears that when you open an Excel file with a macro shared by others, you are prompted that the macro is locked.
The macro may have been disabled because the workbook was opened from an untrusted location.
To fix this, you can try the following:
- Close the workbook, and then open it again from a trusted location.
- If you are trying to run the macro in a shared workbook, you can ask the workbook owner to sign the macro with a digital certificate. This will allow you to trust the macro and run it smoothly.
- If you own the workbook and want to sign the macro, you can do the following:
- In Excel, go to the Developer tab, and then click Visual Basic.
- In Visual Basic Editor, on the Tools menu**, click Digital Certificate**.
- Follow the on-screen instructions (Click here) to create a digital certificate, and then use it to sign the macro.
- If you own the workbook and do not want to sign the macro, you can change the macro security settings to allow all macros to run.
- In Excel, go to File > Options > Trust Center > Trust Center Settings > Macro Settings.
- Select "Enable all macros (not recommended; potentially unsafe code may be executed)", and then click OK.
Be aware that enabling all macros can pose a security risk, because malicious macros can potentially be used to compromise your computer.
Feel free to post if there are any updates.
Chandy | Microsoft Community Support Specialist