This policy setting restricts VBA to checking project library references only against the registry and trusted zones. By default VBA performs additional checks against library paths to prevent loading references from potentially unsafe locations on the local machine as well. It is recommended that this setting remain 0 or unset to allow for the more secure default behavior. Only enable this setting if the default behavior is causing compatibility issues with critical solutions, and then, only to provide time to migrate the solutions to address the less secure behavior, at which point the setting should be turned off again.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | software\policies\microsoft\vba\security |
Value Name | disablestrictvbarefssecurity |
Value Type | REG_DWORD |
Enabled Value | 1 |
Disabled Value | 0 |