Using a command button in a protected form

T

tiah

Hi !

I'm using Word 2003.

I've looked all over the newsgroups, but haven't found my answer.

I have a protected form (2 pages)

At the end of the document, I want to put a command button to print.

As you can think, I don't want this button to be printed.
So I used the procedure here :

http://www.mvps.org/word/FAQs/TblsFldsFms/HidePrintButton.htm

it works great to hide/show the button.

On the other hand, when my form is protected, I cannot click on the
button anymore.
On mouse down, the cursor moves back to the begining of the document
and the action is not done. So I can't click on my button when form is
protected

Can you help me ?


thanks

Tiah
 
T

tiah

I've found my answer with many tries

1- I put the command button directly on my document
2- When Printing, instead of "hiding" it, i put the height and width
to 1

that works for me

thanks !
 

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