Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2015, 05:14 AM
ColdCoffee ColdCoffee is offline Formating using find and replace. Windows 8 Formating using find and replace. Office 2013
Novice
Formating using find and replace.
 
Join Date: Mar 2015
Posts: 3
ColdCoffee is on a distinguished road
Default Formating using find and replace.

I'm not sure where I should be looking. Maybe macros?
But I need help with a simple format

I have dialog Paragraph that I'm looking to Indent and Italics.

looks like

Speaker1: Text.

Speaker2: Text.

Speaker1: Text.

Speaker2: Text.



That my difficulty with find and replace tool I don't know how to define it to replace all the text after Speaker2: till the end of the paragraph.
Reply With Quote
  #2  
Old 03-18-2015, 06:25 AM
Robert2 Robert2 is offline Formating using find and replace. Windows 8 Formating using find and replace. Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 162
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

What exactly do you want to do?
1. Indent all paragraphs beginning with “Speaker2:”?
2. Replace the text after “Speaker2:” with something else? With what exactly? Or do you want to remove (erase) all text after “Speaker2:”?
3. Put the paragraphs beginning with “Speaker2:” wholly in italics? Or only put the text after “Speaker2:” in italics?
Reply With Quote
  #3  
Old 03-18-2015, 07:00 AM
gmayor's Avatar
gmayor gmayor is offline Formating using find and replace. Windows 7 64bit Formating using find and replace. Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
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 of
Default

Quote:
Originally Posted by ColdCoffee View Post
That my difficulty with find and replace tool I don't know how to define it.
See http://www.gmayor.com/replace_using_wildcards.htm
__________________
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
  #4  
Old 03-18-2015, 07:04 AM
Charles Kenyon Charles Kenyon is online now Formating using find and replace. Windows 7 64bit Formating using find and replace. Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Look into Styles, also. If needed can be used with Find and Replace.
If you are not using Styles to format your text, especially in a longer document, you are making a BIG mistake.
Reply With Quote
  #5  
Old 03-18-2015, 11:49 AM
ColdCoffee ColdCoffee is offline Formating using find and replace. Windows 8 Formating using find and replace. Office 2013
Novice
Formating using find and replace.
 
Join Date: Mar 2015
Posts: 3
ColdCoffee is on a distinguished road
Default

Quote:
What exactly do you want to do?
1. Indent all paragraphs beginning with “Speaker2:”?
2. Replace the text after “Speaker2:” with something else? With what exactly? Or do you want to remove (erase) all text after “Speaker2:”?
3. Put the paragraphs beginning with “Speaker2:” wholly in italics? Or only put the text after “Speaker2:” in italics? Today 04:14 AM
Yes to 1.
No to 2, I don't want to replace any text.
Yes to 3 but I want everything Italics. Speakers name and the Text.

Speaker1: Text
Speaker2: Text
Speaker1: Text
Speaker2: Text
So I put in FIND Speaker2: but I don't know how to define the text after to select the text up the paragraph.


Thank you. I have tried to figure it out but with no luck today. My Logic was to FIND Speaker2: ^p, but that doesn't work.



Quote:
Look into Styles, also. If needed can be used with Find and Replace.
If you are not using Styles to format your text, especially in a longer document, you are making a BIG mistake.
Thank you.
Reply With Quote
  #6  
Old 03-18-2015, 08:57 PM
Robert2 Robert2 is offline Formating using find and replace. Windows 8 Formating using find and replace. Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 162
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Try using the following wildcard Find/Replace:

Find What box:
Speaker2:[!^13]{1,}^13

Replace With box:
^&
And don’t forget to associate the Replace With box with Italic font format and specific paragraph indent.
Reply With Quote
  #7  
Old 03-18-2015, 09:06 PM
ColdCoffee ColdCoffee is offline Formating using find and replace. Windows 8 Formating using find and replace. Office 2013
Novice
Formating using find and replace.
 
Join Date: Mar 2015
Posts: 3
ColdCoffee is on a distinguished road
Default

Thank you very much Robert.
Worked like a charm.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating using find and replace. VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File QA_Compliance_Advisor Word VBA 11 09-11-2014 11:51 PM
Formating using find and replace. Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
Find/Find and Replace Loop Tango Mike Word 3 04-20-2014 02:47 PM
Formating using find and 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
Formating using find and 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 03:29 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