Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2021, 06:06 AM
macropod's Avatar
macropod macropod is offline replacing fields with fields Windows 10 replacing fields with fields Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default



Quote:
Originally Posted by ladracer View Post
each template has a host of pseudo merge fields that begin with 'IF "TFT' that should not be changed.
In which case all we need to know is what characteristics of the fields you want to update differentiate them from the ones you don't. As it is, there are essentially only two field codes in what you've designated as to be found:
{ IF "TFT<CourtDistrict> Type<Open> Format<Freeform> Condition<CourtDistrict:EQ1> Item<> Column<> Math<> BL<> Offset<> Done<> Ver<03.00> ResetResult<{if:>" <> "x" "{if:" "x" \* MERGEFORMAT }
with changes in the EQ number, and
{ IF "TFT Type<Close>" <> "x" "}" "x" \* MERGEFORMAT }
both of which are repeated four times.

It's not apparent whether both of the above are to be replaced and whether that replacement is with just the one field to replace the pair, viz:
{ IF "TFT<[AuroraDatabase.CountyCircuitDistrict$.DistrictNumb er]> Type<Text> Format<Uppercase> Condition<> Layer<0> Item<X> Column<> Math<> BL<N> Offset<> Done<> ResetResult<{DISTRICTNUMBER¬X}>" <> "x" "{DISTRICTNUMBERX}" "x" \* MERGEFORMAT }
or whether the fields are to be individually replaced with that field.

As for:
Quote:
they are done incrementally to attempt to avoid the 255 character find limit
None of your Find or Replace field codes has reached that limit.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 03-27-2021, 06:38 AM
ladracer ladracer is offline replacing fields with fields Windows 10 replacing fields with fields Office 2010
Novice
replacing fields with fields
 
Join Date: Mar 2021
Posts: 18
ladracer is on a distinguished road
Default

the fields to be found and replaced have the "Condition<CourtDistrict:EQ#>" where # is a number 1 through 5.

please see attached screenshot of the revealed coding and i resubmitted the find and replace pairs with the highlighting included.
Attached Images
File Type: png field coding find and replace.PNG (105.1 KB, 24 views)
Attached Files
File Type: docx Find and Replace List.docx (18.4 KB, 8 views)
Reply With Quote
Reply

Tags
find and replace, merge fields, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I set up tab to go back and forth between legacy fields and content control fields in a Word Ikajed Word 1 10-13-2017 06:06 PM
replacing fields with fields Displaying FORMTEXT fields when merge fields are empty or null sfkHooper Mail Merge 6 01-19-2016 04:24 PM
Macro to keep formatted form fields after mail merge or replace text with formatted form fields jer85 Word VBA 2 04-05-2015 10:00 PM
Word 2010 - DOCX File with fields -> PDF with fields senglory Word 2 03-27-2012 10:10 AM
replacing fields with fields fields vishalvijayan Word 1 03-30-2011 12:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:08 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