Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onprint -> commandbutton visible false

Status
Not open for further replies.

kingz2000

Programmer
May 28, 2002
304
DE
Hi,

I have a VBA Excel program, whereby I have a button on the excelsheet to update data from my Database. However when I print the results, I don't want the button to be seen, how do I get rid of it , just for the printed output...????

Thanks in advance.
 
Right click your CommandButton, choose the Properties sheet and set the PrintObject to False.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top