Remove 'blank' pages using VBA

K

Kate

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
 
R

Russ

If you are talking a hidden-font text, there are options in the print tab to
not print hidden text or not show graphics.
 
K

Kate

Russ, thanks for the tip, but I do have 'hidden
text' unchecked on the print tab...

I want to force a page break at the end of each
topic, but only if there's something
visible on a page.
 
K

Kate

Russ, thanks for the tip, but I do have 'hidden
text' unchecked on the print tab...

I want to force a page break at the end of each
topic, but only if there's something
visible on a page.
 
K

Kate

I think I've fixed it, using your tip. I hadn't
hidden all the extra paragraph marks, just the
text, so extra lines were still being inserted.

Thanks! -Kate
 

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