View Single Post
  #1   Report Post  
Posted to microsoft.public.word.pagelayout,microsoft.public.word.vba.general
Kate[_2_] Kate[_2_] is offline
external usenet poster
 
Posts: 5
Default Remove 'blank' pages using VBA

Hello,
I have a template that contains bookmarks with
text inserted into the bookmark area, for
identification of the bookmark to me, the
developer. The template is used to print many
reports, some of which only use some of the bookmarks.

If a page contains these bookmarks but no graphic
has been pasted over them, a blank
page will appear in my report.

How do I search for pages which have no text
visible when 'paragraph marks' is turned off, so
that I can delete them? What is the code to
detect 'blank page?'

Thank you,
Kate