Forum Discussion
Rmccowan
Aug 12, 2021Copper Contributor
Enable/disable the "Always use these values regardless of sign in to Office" Option with macro
I'm trying to develop a macro that will modify the User name and enable/disable the "Always use these values regardless of sign in to Office" option from the Word Options > General > Personalize you...
Rmccowan
Aug 12, 2021Copper Contributor
I finally found it.
https://docs.microsoft.com/en-us/office/vba/api/word.options.uselocaluserinfo
Options.UseLocalUserInfo = True
Options.UseLocalUserInfo = False
https://docs.microsoft.com/en-us/office/vba/api/word.options.uselocaluserinfo
Options.UseLocalUserInfo = True
Options.UseLocalUserInfo = False