Creating Print Buttons / Forms in MS word

C

Clint

HI,

I hope anyone can provide me with further help as I truly am a novice
Programmer :eek:(.

WD2000, VB6

1. I created a form and Locked it from editing. People can only fill
out the appropriate fields.

2. I needed to add detailed instruction for each field. So I've
decided to add simple MsgBox Functions. < --- Works fine.

3. My Problem -
A) The First two pages of information should never be printed, So how
can I set up the default Print Range to be From page 3-21 or block
these pages from being printed? Either using a command button or any
other way possible!

B) I need to hide the command buttons so that they do not get printed.

* - I've looked for lengthy periods of time in many places with no
success. Any Guidance is really appreciated.
 
C

Chad DeMeyer

Clint,

Go to Tools>Macro>Macros. In the "Macros in:" dropdown, select "Word
Commands". Scroll down and click on "FilePrint". Now, select your document
or template in the "Macros in:" dropdown. Finally, click Create.
A new macro is created in your document or template with the VBA code for
the default command. You can modify this to prevent the user from printing
out the first two pages.
You would need to follow the same process for the "FilePrintDefault"
command.
Please note, this won't work if the users can choose not to enable macros.
In that case, there is nothing you can do to prevent them from printing
those pages.

Regards,
Chad
 

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