Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2021, 08:46 AM
Esgrimidor Esgrimidor is offline Change registry value for updating links through vba Windows XP Change registry value for updating links through vba Office XP
Advanced Beginner
Change registry value for updating links through vba
 
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
  #2  
Old 02-01-2021, 04:55 PM
Esgrimidor Esgrimidor is offline Change registry value for updating links through vba Windows XP Change registry value for updating links through vba Office XP
Advanced Beginner
Change registry value for updating links through vba
 
Join Date: Jun 2009
Posts: 35
Esgrimidor is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
You added a new question. I have split it into a new thread.
https://www.msofficeforums.com/word/...microsoft.html


Even though this may be part of the same project, you are asking about something completely different from your first question. For you to get the best answers and for other users to get the best information from this forum, it is important that they be addressed separately.

yes it is. I am going to study now how to create a reg file in basic mode. I don't pretend to program. Only be able to understand
Reply With Quote
  #3  
Old 02-01-2021, 06:16 PM
Guessed's Avatar
Guessed Guessed is offline Change registry value for updating links through vba Windows 10 Change registry value for updating links through vba Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You don't need to create a reg file in order to write to the registry. Have a look at Read and change a registry key using VBA
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 02-02-2021, 04:36 PM
Esgrimidor Esgrimidor is offline Change registry value for updating links through vba Windows XP Change registry value for updating links through vba Office XP
Advanced Beginner
Change registry value for updating links through vba
 
Join Date: Jun 2009
Posts: 35
Esgrimidor is on a distinguished road
Default

I will take a look to learn
Best Regards
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change registry value for updating links through vba message about updating links timalg Excel Programming 3 05-05-2018 03:22 PM
Change registry value for updating links through vba Word 2013 Registry Edits - Update Automatic Links at Open ptmuldoon Word 3 11-04-2015 08:45 AM
Updating links tkondaks Word 2 08-28-2012 06:22 AM
Updating Links johnp Word 0 10-18-2011 03:36 PM
Updating Excel Chart Links fermat PowerPoint 0 07-09-2010 04:29 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft