Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2017, 02:32 PM
jeffreybrown jeffreybrown is offline Add paragraph return between two specific character Windows Vista Add paragraph return between two specific character Office 2007
Expert
Add paragraph return between two specific character
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default Add paragraph return between two specific character


I have a string which is actually a variable used in business objects which has multiple If statements.

I need to add a return between all of the ;If

So between the semi-column and the If

How can I do this with f/r?
Reply With Quote
  #2  
Old 03-30-2017, 02:35 PM
macropod's Avatar
macropod macropod is offline Add paragraph return between two specific character Windows 7 64bit Add paragraph return between two specific character Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Pretty basic, really:
Find = ;If
Replace = ;^pIf
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-30-2017, 02:45 PM
jeffreybrown jeffreybrown is offline Add paragraph return between two specific character Windows Vista Add paragraph return between two specific character Office 2007
Expert
Add paragraph return between two specific character
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Thanks Paul

I was trying the below based off of other things I had found, but of course didn't work...

Find=[;]^w[If]
Replace=[;]^p[If]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add paragraph return between two specific character How to insert paragraph character after every 500 characters? aditya_bokade Word VBA 28 11-13-2021 10:48 PM
Add paragraph return between two specific character Return List Based On Specific Value Helmszee Mail Merge 1 04-12-2016 02:30 AM
Add paragraph return between two specific character Extract Line of Text w/ specific characters up to the paragraph character, send to Excel dmarie123 Word VBA 10 07-20-2015 12:16 AM
Add paragraph return between two specific character How can select from a specific character to another character mohsen.amiri Word 2 02-19-2015 11:38 PM
Add paragraph return between two specific character Paragraph (carriage) return font size revrossreddick Word 2 12-28-2011 01:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft