Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting particular types of text in a document

Status
Not open for further replies.

fionabundyclarke

Technical User
Jun 24, 2008
4
GB
Have been poking at MS Word to try and get some sort of formatting control on it to make all the capitalised words bold, ie. I want anything I write in capslock to be bold, or anything I write in bold to be uppercase... Is there a way to apply the formatting to a particular class? (ie. bold or uppercase) This would save me a lot of time!
 
I don't think there's any way to make this happen automatically but you could do it with a couple of global Find and Replace operations at the end - all bold to caps and all caps to bold.

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
That is very useful, thank you!

Is there a wildcard that can be used to select all uppercase text?
 

[tt][blue]<[A-Z]@>[/blue][/tt] should do it.

[tt][blue]<[/blue][/tt] means start of word
[tt][blue][A-Z][/blue][/tt] means an uppercase letter
[tt][blue]@[/blue][/tt] means repeated
[tt][blue]>[/blue][/tt] means end of word

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Thank you! I have given it a try, and it did indeed embolden my uppercase words... But unfortunately it replaced them with the text <[A-Z]@> as well! Am I inputting the "<[A-Z]@>" incorrectly into Find & Replace?

Thank you for your help.
 
What are you putting in the Replace box? It should be empty; with the cursor in it, press [blue]Ctrl+Space[/blue] to clear formatting, then press [blue]Ctrl+B[/blue] to set bold; then Replace All.

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top