![]() |
|
#1
|
|||
|
|||
![]()
Basically the conditions are the finds are within a range of the document.
The range has been found by another process. So if the find is > LowerLimit and < UpperLimit then replace. LowerLimit and UpperLimit are long integer variables. After posting the question, a solution came to me. But I don't know how to code it. The code would be: * Select from LowerLimit to UpperLimit. * Search (multiple searches) and replace within that range. As there are multiple find/replaces, the selection would have to remain intact. An issue would be where the replacement text is not of the same length as the find text. |
![]() |
Tags |
conditional find replace, find, replace |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
QA_Compliance_Advisor | Word VBA | 11 | 09-11-2014 11:51 PM |
![]() |
Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
Find/Find and Replace Loop | Tango Mike | Word | 3 | 04-20-2014 02:47 PM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
![]() |
shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |