View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default highlighting problem

If font shading is the issue, then the macro you have reproduced from the
thread will remove it.
If you don't know what to do with the code - see
http://www.gmayor.com/installing_macro.htm

Sub NoFontShading()
Application.ScreenUpdating = False
Selection.WholeStory
With Selection.Font.Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorAutomatic
End With
Selection.HomeKey Unit:=wdStory
Application.ScreenUpdating = True
End Sub


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Eliza wrote:
Suzanne,

I am having the same issue where I can't get rid of the highlighting
on some text. Can you retype what you told that other person
regarding this. I cannot find your original answer. Something about
borders and shading. I tried doing that but it didn't change anything.

Eliza

"Graham Mayor" wrote:

Try

Application.ScreenUpdating = False
Selection.WholeStory
With Selection.Font.Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorAutomatic
End With
Selection.HomeKey Unit:=wdStory
Application.ScreenUpdating = True


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Amit wrote:
I created a Macro for the actions, and it seems to be going much
faster. Don't know if there is a faster way to unshade all the
instances.

Thanks anyways.

-Amit

"Suzanne S. Barnhill" wrote:

Did you try the suggestion I offered in response to your previous
duplicate question? See if they have had shading applied from
Format
Borders and Shading.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

"Amit" wrote in message
news Windows XP, Word 97
================
Hi,

I've been given a Word document with some sentences and words
highlighted in yellow. There are no comments in the document to
cause the highlighting, and I'm unable to get rid of the
highlighting by selecting "None" using the "Highlight" icon in the
toolbar.

I can select the yellow highlighted words, and then highlight them
with some other color, and also un-highlight them, but the yellow
highlighting still remains. Which leads me to believe it is some
kind of formatting issue.

I've also tried to copy-and-paste the document (and also portions
of it) into a new document, but that doesn't get rid of the
highlighting either.

Will appreciate any help on getting rid of the highlighting (and
possibly an explanation of the reason) and make the document
appear normal.

Thanks!

-Amit