longytravel
Board Regular
- Joined
- Aug 2, 2011
- Messages
- 68
Morning,
I have the following code
Columns H, I and J are printed on a second sheet
What code do i need to get in so that excel fits all columns to into the width of the page when printed?
As ever any help greatfullyl recieved!
Thanks
I have the following code
Code:
Private Sub CommandButton4_Click()
ActiveSheet.PageSetup.Orientation = xlLandscape
Range("B2:J30").PrintOut
End Sub
Columns H, I and J are printed on a second sheet
What code do i need to get in so that excel fits all columns to into the width of the page when printed?
As ever any help greatfullyl recieved!
Thanks