I have a command button that I created at the start of a Word document. It
opens up a user form to input data and the then the user can print the
document once the data has been updated.
Is there code that makes the command button not print as when I print the
document is shows the button (which I labelled 'start').
Thanks
Marco
See the article "How to hide a "Print" commandbutton on a document form when
a user clicks on it" at:
http://word.mvps.org/FAQs/TblsFldsFms/HidePrintButton.htm
But it might be better to use an autonew macro to display the form (Your
document should be template)

Signature
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.
Hope this helps,
Doug Robbins - Word MVP
>I have a command button that I created at the start of a Word document. It
> opens up a user form to input data and the then the user can print the
[quoted text clipped - 4 lines]
> Thanks
> Marco
R. Frerichs - 23 Feb 2005 18:43 GMT
I went to the word.mvps.org page and followed the directions for the
nonprinting commandbutton. However, I can't get it to work in the protected
mode. Ift I don't have it protected, it works but the all my form field get
deleted when typing is done. Any more suggestions?
> See the article "How to hide a "Print" commandbutton on a document form when
> a user clicks on it" at:
[quoted text clipped - 11 lines]
> > Thanks
> > Marco