Thread: Replace String
View Single Post
 
Old 02-16-2022, 03:08 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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

This can be achieved from two different directions.
1. Step through all the tables to see if a string exists in the first row
2. Find a string and see if that found instance is in the first row of a table

The best method depends on how many instances are likely to be found in/out of scope and what you mean by
Quote:
Find & Replace Strings are fixed for every table in a document.
Have a go at the code yourself and post what you have. Perhaps looking back at some of your previous code will help https://www.msofficeforums.com/word-...deletions.html
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote