![]() |
#2
|
|||
|
|||
![]()
Ooops, I may have posted some crappy code before. If you're trying to just underline that word, maybe just the use find and replace to underline it? That should only underline that title:
Code:
With Selection.Find .Text = " Product Specifications" .Replacement.Text = " Product Specifications" .Replacement.Font.Underline = True .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replacing a comment with underline or other formatting (or adding that formatting to commented text) | paulkaye | Word | 4 | 05-16-2016 05:38 AM |
![]() |
MiniMum97 | Word | 2 | 04-12-2016 06:09 AM |
Copy Underline text from Word and Paste into excel | rfaris | Excel Programming | 7 | 10-05-2015 05:56 AM |
![]() |
ksigcajun | Word VBA | 1 | 03-16-2015 07:51 PM |
How to remove the UNDERLINE from a hyperlink text? | Learner7 | PowerPoint | 3 | 05-17-2010 09:35 PM |