print button on work sheet

griff888

New Member
Joined
Mar 26, 2011
Messages
10
I have recently produced an invoice and want to add a print button to the work sheet this button would take me straight to print options as I want to print 1 copy for the customer in normal print and 2 copies for the business in fast print
1st question is there a way of creating print in the 2 different print modes so that I need to only one click the button if so what code would I use for the command button
2nd question if the above is not possible what code would I use to bring up the print option box.
I need to hide the tool bars etc so that staff arent tempted to alter any of the options available when producing the invoice.
hope someone can help cheers
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try like this

Code:
Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogPrint).Show
End Sub
 
Upvote 0
thanks again vog twice in two days you have been able to give me quick answers to my questions you are a great help ;)
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,484
Members
452,917
Latest member
MrsMSalt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top