#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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? |
#3
|
||||
|
||||
Quote:
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
Quote:
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: TextSpeaker1: Text Speaker2: TextSo 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:
|
#6
|
|||
|
|||
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. |
#7
|
|||
|
|||
Thank you very much Robert.
Worked like a charm. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
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 |
Bad view when using Find and Find & Replace - Word places found string on top line | paulkaye | Word | 4 | 12-06-2011 11:05 PM |
Help with find and replace or query and replace | shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |