Solved

[Word] How to exclude sections when printing or PDF exporting

Posted on 2015-01-05
6
231 Views
Last Modified: 2015-01-08
Hi,

Using Word, I created a document where I have inserted sections delimited by the following tags <INTERNE EME></INTERNE EME>.

Is it possible to automate the exclusion of these sections when printing or exporting in PDF format?

Regards,
Richard
word-exclusion-automation-20150105.png
0
Comment
Question by:Richard Coffre
  • 3
  • 3
6 Comments
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40531508
Hi,

you could change the format of these sections as hidden

You can use Replace to do that
in FindWhat
 <INTERNE EME>*</INTERNE EME>

Using wildcards

in ReplaceWith
^&

With Format Font Hidden ticked


Regards
0
 
LVL 1

Author Comment

by:Richard Coffre
ID: 40537663
The search using wildcards does not work :-(
0
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 40537683
Have you ticked the box after having clicked More?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 1

Author Comment

by:Richard Coffre
ID: 40537712
Yes.
I will investigate further to find out why it fails.

Thanks.
0
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 40537713
Could you send a dummy?
0
 
LVL 1

Author Closing Comment

by:Richard Coffre
ID: 40537716
The answer is good but it may need a little more information related to the Word versions because it does work properly with my configuration.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question