View Single Post
 
Old 02-01-2021, 08:46 AM
Esgrimidor Esgrimidor is offline Windows XP Office XP
Advanced Beginner
 
Join Date: Jun 2009
Posts: 35
Esgrimidor is on a distinguished road
Default Change registry value for updating links through vba

[Moderator's note: Split from this thread: https://www.msofficeforums.com/word/...es-across.html
Poster's native language is Spanish.

end of note]


I would like to know how to replace a string in the windows registry with a reg file.

I need for the option scanning a folder and its subfolders searching for doc files.


Best Regards


So :



a .reg file
I need

The automatically update links feature must be configured as off.

And do that through the windows registry :

The policy value for User Configuration -> Administrative Templates -> Microsoft Word 2010 -> Word Options -> Advanced “Update automatic links at Open” must be set to “Disabled”.

Procedure: Use the Windows Registry Editor to navigate to the following key:

HKCU\Software\Policies\Microsoft\Office\14.0\word\ options

Criteria: If the value DontUpdateLinks is REG_DWORD = 1 this is not a finding.


Once this step is done I need to continue with the VBA script scanning the folder and subfolders.

How can I do the reg file ?

How can I execute the reg file from inside the VBA script ?

Best Regards

Last edited by Charles Kenyon; 02-01-2021 at 11:34 AM.
Reply With Quote