ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

Powershell Scripting : VBA adaptation code for locate strings inside word files

(1/5) > >>

Contro:
4wd indicates me this wonderful script to search a string in several word files and adapted for searching in doc files too (not only docx).
This script search word files in a folder.
https://www.datanumen.com/blogs/find-replace-contents-multiple-word-documents/
But don't do in its subfolders.
How can this be done ?

Additionally I have a problem of using fields in my word files and when a file is opened a window appear offering to update the links.
the idea is say no to that special windows and make the replace of the string only...

I can offer any information about that warning window if needed .
 :-* :P

Contro:
how can I disable with VBA code when opening this window ? :


Powershell Scripting : VBA adaptation code for locate strings inside word files

Notes :
1. Can I disable the window in a certain file ?
2. Can I disable the window when opening any file ?
3. Can I disable the window with VBA code ?

Best Regards

I have located in spanish how to deshabilitate the link update with https://mundo-geek.com/este-documento-contiene-enlaces-que-pueden-referirse-a-otros-archivos-como-manejarlo/
It would be perfect if I can inhabilitate with VBA code before opening and habilitate when finish...
 :-* :P

Contro:
In English
Update automatic links on open

https://www.stigviewer.com/stig/microsoft_word_2010/2014-01-07/finding/V-17811
https://word.tips.net/T000654_Updating_Automatic_Links.html

So is possible even throug the windows registry.
The next step may be how to do this with VBA code.

 :-* :P

Contro:
How can I adapt this for searching in a folder and its subfolders ?
https://stackoverflow.com/questions/22645347/loop-through-all-subfolders-using-vba
 :-* :P

Contro:
Can I do a reg script to replace a string in the registry and execute this reg file from a VBA script ?

Best Regards

Navigation

[0] Message Index

[#] Next page

Go to full version