View Single Post
 
Old 12-09-2021, 11:42 AM
laith93 laith93 is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Post Find and replace words according to excel file

Hi,
I have a list of words and abbreviations in an excel file,
I want to use this list to search and replace words in a word document, and if possible to preserve words formating in the excel file during replacing, eg:

Demo:
Urinary tract infection (uti) are considered to be the most common and important bacterial infection, elisa test, E. coli most common infectious agent.

Excel file with desired formatting words:
UTI
ELISA
E. coli

After applying code:
Urinary tract infection (UTI) are considered to be the most common and important bacterial infection, ELISA test, E. coli most common infectious agent.

Please any help?
Thank you
Reply With Quote