How to _not_ print some text with Word 2003 ?

  • Thread starter Thread starter Xavier
  • Start date Start date
X

Xavier

Hello,

first of all, I hope this is an appropriate newsgroup, if not, do not
hesitate to redirect me.

We are using pre-printed (text & logo) A4 Stickers in which some blank boxes
are filled manually by end-users. I would like end-users to use Word 2003 to
enter text that should be printed in the blank boxes on our stickers. I
would like to create a template that would look like our pre-printed
stickers, with boxes to enter text but I don't know how to print the boxes
content only ?

Any help or pointer would be greatly appreciated.

Thanks,

Xavier
 
Insert form fields in the boxes (use table cells rather than text boxes) and
protect the document for forms. Set tools > options > print > print data
only for forms. You'll probably have to intercept the print routine in this
template to add the latter option. The following macro *saved in the
document template - NOT normal.dot* should do the trick:

Sub FilePrint()
ActiveDocument.PrintFormsData = True
Application.PrintOut FileName:=""
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks, I'll give it a try.

Graham Mayor said:
Insert form fields in the boxes (use table cells rather than text boxes)
and protect the document for forms. Set tools > options > print > print
data only for forms. You'll probably have to intercept the print routine
in this template to add the latter option. The following macro *saved in
the document template - NOT normal.dot* should do the trick:

Sub FilePrint()
ActiveDocument.PrintFormsData = True
Application.PrintOut FileName:=""
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
You are welcome.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top