Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2013, 01:36 AM
zdodson zdodson is offline Highlight all underlined words Windows 7 64bit Highlight all underlined words Office 2010 32bit
Novice
Highlight all underlined words
 
Join Date: Jun 2013
Posts: 1
zdodson is on a distinguished road
Default Highlight all underlined words

I have a word template file that uses hotkeys to quickly format through various articles that are contained within the file.



I want to give the user a capability which allows them to choose between having an "unhighlighted" version of the file and a "highlighted" version. In the "highlighted" version, it would find all words of a particular format (e.g. Arial, 11, underline) and change the background color of words in that format--I do not care about whether the function uses the font-highlight or paragraph-shading properties to "highlight" the file.

I have tried doing multiple things in the file. I have tried:

1) Recording a macro that selects all text formatted a specific way, and then use the font-highlight function, and then ending the macro; and

2) Recording a macro that selects all text formatted a specific way, and then using the paragraph-shading function to highlight the selected text, and then ending the macro.

Results:

1) It does not go through the entire document, or it just doesn't work
2) It will highlight all of the text in a specific line, even if it is not underlined.

Any pointers?


Thanks
Zack
Reply With Quote
  #2  
Old 07-11-2013, 04:53 PM
Charles Kenyon Charles Kenyon is offline Highlight all underlined words Windows Vista Highlight all underlined words Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
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

Try, with or without a macro, using the Replace function. You can replace one formatting with another or add formatting to a particular found set of text.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight all underlined words Macro to highlight a list of words bakerkr Word VBA 4 10-19-2017 02:23 PM
Highlight all underlined words Macro to highlight words bertietheblue Word VBA 9 07-01-2013 12:39 PM
Highlight all underlined words Create an underlined form field within an already underlined line? lwisniewski Word 1 01-21-2013 05:49 AM
Highlight all underlined words Almost all words underlined by Word. Wim vd Velden Word 1 10-02-2012 05:57 AM
Transferring all the underlined words swemhsut Word 0 08-20-2010 01:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:06 AM.


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