Need help with printing question

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,026
I have 12 worksheets in a workbook and want to print sheet number 12 which is named "Codes" to print out on the back of all of the the other worksheets when selected to print so you get the front to back look. So if I select worksheet "one" to print I get worksheet "Codes" on the back. I print to a copy machine so it has the capability of doing this. Can I do this with some code? I have a user form that pops up and allows me to select what worksheets I want to print.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
Hi,

not sure if this solutions will work: you would have to tell us in what order the commands need to go to your machine to get it "front-back"printed

the simplest solution I can imagine is adding a beforeprint event
Code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Application.EnableEvents = False
Sheets(12).PrintOut
Application.EnableEvents = True
End Sub

instead of this you could add
Sheets(12).PrintOut
within your loop to print the pages

kind regards,
Erik
 

Forum statistics

Threads
1,141,227
Messages
5,705,137
Members
421,380
Latest member
Nuwan Sanjeewa Aponso

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
Top