[VBA] Printing A Double Sided Document

Ark68

Well-known Member
Joined
Mar 23, 2004
Messages
4,592
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Ok, I think the bigger challenge here is to explain what I am looking to get done, so my apologies in advance if my explanation is lacking appropriate detail, or fails to utilize the appropriate terminology.

In my application, workbook (workbook1), worksheet(1) is populated with a series of ranges that represent, when printed, one 8.5"x11.5". There can be several pages represented, one below the other, on the worksheet.

In that same workbook, worksheet(2) is a static range that gets printed on the reverse side of each of the pages from worksheet(1).

What I find myself doing now, and I'm trying to make it a bit less reliant on the user, is print the pages in worksheet(1). At the printer, I put these sheets in the printer tray, and then print worksheet(2) x number of times to the preprinted pages in the printer drawer.

What code would one suggest I use in order to print worksheet(2) on the reverse of each page in worksheet(1) as it's printed without manually having to do adjust sheets and print seperately?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Would suggest to export both worksheets simultaneously to a PDF (stored within a temporary folder) and then to print this PDF double-sided. There are several threads on this forum regarding this topic.
 
Upvote 0
Thanks GWteB. Perhaps I'm not using the right search terms, but I'm not finding much I tried duplex printing, printing double sided, excel to pdf double sided printing. I found this post of yours, and tried, but the PDF created wasn't what I was looking for. In workbook 1 I have 4 pages. The result of the PDF was the four pages ending with the single page from worksheet 2.

I think I need: [ws1.page1, ws2-page1], [ws1.page2, ws2-page1], [ws1.page3, ws2-page1], [ws1.page4, ws2-page1], but what I got was ws1.page1, ws1.page2, ws1.page3, ws1.page4, ws2_page1.

Then once that's figured out I'm needing to do this via VBA and send to the printer. That is a bit advanced.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,754
Members
452,940
Latest member
rootytrip

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