Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 12-05-2012, 10:41 PM
macropod's Avatar
macropod macropod is offline Challenging Heading Edit with Find Replace Windows 7 64bit Challenging Heading Edit with Find Replace Office 2010 32bit
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

Hi Binar,

Appropos our previous discussion, you need to do a two-step Find/Replace. First, ensure all of the existing headings you want to modify have a period at the end, via the wildcard Find/Replace, where:
Find = ([!.])(^13)
Replace = \1.\2
and specify the relevant Heading Style for the 'Find'. Make sure the 'Replace' option doesn't have any format specified. After that, do another wildcard Find/Replace, where:
Find = .^13
Replace = ^&
again with the 'Find' format specified as the relevant Heading Style, but this time with the 'Replace' format specified as not underlined. This wildcard Find/Replace is equivalent to the standard one I specified originally - it just means you don't have to keep toggling the wildcard option on/off.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Challenging Heading Edit with Find Replace Macro to replace one specific heading style with another ubns Word VBA 44 09-04-2012 08:17 PM
Challenging Heading Edit with Find Replace Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Challenging Heading Edit with Find Replace Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Challenging Heading Edit with Find Replace Find and Replace kjxavier Excel 3 08-12-2011 10:49 PM
Challenging Heading Edit with Find Replace Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

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