View Single Post
 
Old 04-30-2021, 08:50 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,138
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

Code:
changedXml = Replace(strXml, "</graphic>" & Chr(11) & "</figure>" & Chr(11) & "</foldout>", "reproductionWidth=*+1")
works to change the string, but whether it will change the text in your document rather depends on what you do with changedXml subsequently.
__________________
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