![]() |
|
|
|
#1
|
||||
|
||||
|
Paul - that too was my first thought, but it didn't work for me either. However looking at it again, it seems to work if you add a line to the code
Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\Page") Rng.Select If Rng.HighlightColorIndex = wdNoHighlight Then Rng.Delete Why that should be needed I am not sure, but it certainly changes the outcome.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Cannot see highlighted text for moving text in a do ument
|
Jonfrank1@me.com | Project | 1 | 01-09-2017 06:04 PM |
I need to convert shaded text into highlighted text on about 80 different long documents. VBA macro?
|
AustinBrister | Word VBA | 8 | 05-28-2015 02:42 PM |
Formatting- Apply changes to highlighted text results in same change to other text
|
sential | Word | 6 | 01-10-2014 03:22 PM |
| Delete button does not work with highlighted text | edmund36 | Word | 3 | 10-17-2011 02:34 AM |
| Highlighted text won't delete - when I press enter | Gague | Word | 2 | 07-09-2010 12:53 PM |