I need to know if this is even possible. I have a worksheet that i need printed and to fit to one page. I would like to put a button so the user can click and print.
I have tried the following and it fails:
Sub PrintWorkload()
With Worksheets("Workload").PageSetup
.Zoom = False
.FitToPagesTall = 1
.FitToPagesWide = 1
End With
Next
.PrintOut Copies:=1
End With
End Sub
I have tried the following and it fails:
Sub PrintWorkload()
With Worksheets("Workload").PageSetup
.Zoom = False
.FitToPagesTall = 1
.FitToPagesWide = 1
End With
Next
.PrintOut Copies:=1
End With
End Sub