Rotate one page of many when printing?

Brian F

Active Member
Joined
Aug 31, 2009
Messages
256
Excel 2010, Windows 10: I have a VBA routine that chooses which worksheets (by worksheet name) to print out of many possible choices in a workbook. One of those sheets (Invoice_(Developer)) I want to rotate 180 degrees before it prints. Is there any way to include a switch in the statement...;

ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False

....that would rotate that one sheet? From my search on the internet it would seems the answer is "no" but I've learned that there may well be one of you who has a solution so I thought I ask.

Thanks for any input you're able to give me.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I've not seen it done in one routine, and my attempts in the past haven't worked, but a daft idea occurs to me

replicate the sheet, but have all the text turned 90 degrees (i presume you meant 90 and not inverted), adjust to fit as if columns and rows were realigned, if your lucky transpose might work, cells will need to point to original values
 
Upvote 0
Why isn't the Page Setup for that Sheet set to Landscape?
 
Upvote 0

Forum statistics

Threads
1,224,943
Messages
6,181,917
Members
453,071
Latest member
Gizmo2024

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