Weird highlighting in Word document

A

Amit

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
 
S

Suzanne S. Barnhill

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.
 
A

Amit

Suzanne,

That worked!!! I'm not sure it was me who posted this question earlier (re:
previous duplicate question). I do remember posting a question regarding
formatting issues a while ago which you answered.

Anyways, thanks again!!

-Amit
 
A

Amit

Is there any way to unhighlight the shading for all instances in the entire
document? I tried CTRL-A and then Format | Borders & Shading, but that didn't
work. So, the other option is to go to each and every instance of it - which
means repeating the same action hundreds of times.

Also, would copying-and-pasting it from a web-page be responsible for this?

Thanks!

-Amit
 
A

Amit

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
 
S

Suzanne S. Barnhill

I'm not sure what might cause this. It's a good thing you were able to
remove the shading via a macro because I don't believe this is possible via
Find and Replace. It's simple enough to apply the Default Paragraph Font
(the equivalent of pressing Ctrl+Spacebar) if you could find the instances
to begin with, but there doesn't seem to be any way to search for shading.
You could have used Ctrl+A, Ctrl+Spacebar, but this would remove *all*
direct font formatting, which might not be desirable.
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
E

Eliza

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
 
S

Sara

I have had the same issue in the past. I found out that the paragraph mark
at the end of my paragraph was what needed to be unhighlighted. Also if you
have styles in your document make sure it's not applied to your header.
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

In one previous example (the one Sara is talking about), the problem was
highlighting of auto numbering. This can be removed by clearing the
formatting on the paragraph mark at the end of the paragraph. I think your
problem, however, may be that the "highlighting" is actually text shading.
If that's the case, select the text, go to Format | Borders and Shading, and
select No Fill on the Shading tab.
 
D

Dale

I cannot get the highlighting off some of my bullets. I've tried the
boarders & shading advice but it does not work. There are only about 3-4
bullets but I have to remove them.....will the macro help me? or is there
another reason?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top