Search the forum for Trust Center , lots of recent discussions.
Hi, about to enable the macros i found on web the following code, but i don't know why it doesn't work. The VBAWarnings : 1 its for Enable, 2,3,4 for disable macros....
any idea?
Dim WshShell As Object
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_USERS\S-1-5-21-113387354-4276480215-1281312295-1001\SOFTWARE\Microsoft\Office\16.0\Access\Security\VBAWarnings", "1", "REG_DWORD"
This is my access version (2019) path
Computer\HKEY_USERS\S-1-5-21-113387354-4276480215-1281312295-1001\SOFTWARE\Microsoft\Office\16.0\Access\Security\VBAWarnings