Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-09-2021, 11:42 AM
laith93 laith93 is offline Find and replace words according to excel file Windows 10 Find and replace words according to excel file Office 2019
Competent Performer
Find and replace words according to excel file
 
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
 

Tags
find & replace, vba code, word vba code



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace words according to excel file Find & Replace Multiple words Gartholameau Word VBA 2 01-20-2019 04:56 PM
Find and replace words according to excel file multiple find and replace in vba for special words kvnrao Word VBA 7 11-02-2018 06:28 PM
Find and replace words according to excel file Find and replace mutiple spaces between lowercase words only Dave T Word VBA 2 07-16-2015 11:23 PM
Find and replace words according to excel file VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File QA_Compliance_Advisor Word VBA 11 09-11-2014 11:51 PM
Find and replace words according to excel file Find & Replace: substitute red-coloured words with underscores tinfanide Word 2 10-06-2012 11:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:01 PM.


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