Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-24-2021, 10:31 PM
gmayor's Avatar
gmayor gmayor is offline replacing fields with fields Windows 10 replacing fields with fields Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Neither Greg's nor my batch process will handle field replacement as you seem to be attempting.

I suspect Paul is not familiar with the add-ins however what is being searched for is a sequence of field structures similar to

{ 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 }FIRST{ IF "TFT Type<Close>" <> "x" "}" "x" \* MERGEFORMAT }

each to be replaced with %, then a sequence of %%%%% (presumably the result of replacing all those fields) to be replaced with another complex field structure.

Greg and I are friends of many years standing and have co-developed several processes including this one - our corresponding initials are coincidental.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

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 01:35 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