Command bar in word and hiding for printing

F

FPilot

Can anyone tell me how to hide a command button on a
document when someone prints. The command button is
cmdRunForm. Nothing seems to work. I even tried to
change the back color and forecolor and it errors out.

Thanks in advance.
 
J

JGM

Hi FPilot

Have you tried
cmdRunForm.Visible = False
before printing and
cmdRunForm.Visible = True
after the print job to bring it back?

HTH
Cheers!
 
F

FPilot

The command bar is not on a direct form, but selected
placed on a word document from the command toolbox. Any
other ideas??
 

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