![]() |
#1
|
|||
|
|||
![]()
Hi all, new to this thread
I have a document of over 3,000 pages, I want to make some lines bold, the lines I want bold contain the open and closed brackets ( ) these are the only lines I want bold. Is there a way I can search the document and tell MS word 2007 that any line that containes the ( and ) to be bold, the line could be any length but only that line contains the ( and ). As the Brackets ( and ) are used as expressions in wild cards I can change them to anything is this makes it easier. Hope someone can help there are over 3000 lines to convert to bold Thanks MaqdBriT |
#2
|
||||
|
||||
![]()
Hi MaqdBriT,
You can use a wildcard Find/Replace, where: Find = \([!\)]{1,}\) Replace = ^& and the replacement font format is set to bold.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Thanks, that selects the two brackets and whats inside, but I need the whole line to be bold, a sample line is below
Al Bumbah North (HL0M) I need the whole line to be bold, not just the brackets Thanks, any idea??? Kind Regards MadBriT |
#4
|
||||
|
||||
![]()
Hi MadBriT,
If the 'whole line' is a paragraph, you could use a wildcard Find/Replace, where: Find = [!\(^13]{1,}\([!^13]{1,} Replace = ^& and the replacement font format is set to bold. Note: The Find code now only looks for paragraphs with the opening bracket, then selects all the text in the paragraph concerned. To make the Find/Replace more efficient, you could specify the Find text as 'Not Bold', but that will only be of use if none of the text is already bolded.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Mate, you have saved me soooooo much work, cant thank you enough.
Tell me, where can I get a good list of these codes you have used and there uses?? Thanks again MAdbRit |
#6
|
||||
|
||||
![]()
Hi MAdbRit,
The Find/Replace codes are listed in Word's help file. I don't know that there are any tutorials, per se, on their use, but web searches for 'Word wildcard Find/Replace' should turn up some useful examples.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
mkoenig | Word VBA | 1 | 01-31-2010 02:47 AM |
Can I automate printing email attachments? | blackduck603 | Outlook | 0 | 04-01-2009 11:58 AM |
![]() |
Ray Vassallo | Word | 1 | 03-07-2009 09:22 AM |
Automate Word to Ask if you Want to Print | MrMims | Word VBA | 0 | 02-24-2009 06:21 PM |
Automate Excel tabname | deegz | Excel | 2 | 12-08-2008 02:57 AM |