(newbie) Macro to omit certain pages while printing

A

Abhinav

Hi All,

I know a wee bit of vba but not much .. and most of it in excel.

I have a word document, with many pages having paragraphs with the
text <<not applicable>>.

Is there a way to print out the document without these sections ?

Any pointers towards the above will be helpful


TIA

Abhinav
 
A

Abhinav

Clarifying from another id ..
Hi All,

I know a wee bit of vba but not much .. and most of it in excel.

I have a word document, with many pages having paragraphs with the
text <<not applicable>>.
In effect, <<Not Applicable>> will be present beneath a "Heading" Style.
I have "Heading 1" to "Heading 9" Defined. It could be under any of them..

Hence the requirement is :

If the page contains <<Not Applicable>> and NOTHING Else, Omit the page
while printing.


Thanks for your Help !!

Abhinav
 
D

Doug Robbins - Word MVP

How about using Edit>Replace to replace

^m<<not applicable>>^m

with

^m

to delete the pages with only <<not applicable>> on them (assuming that
manual page breaks are used), then print the document and close it without
saving it.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

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