G
Guest
The following code is intended to get around users changing the scaling setting in page setup – and thereby messing up the print. I need to modify it to accommodate two issues – scale size, and print areas
Worksheet “Scorecard†scale is 95%, one print range: B1:BA4
Worksheet “Customer†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Financial†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Learning†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Process†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
(If the print range is not given, Excel will print all three ranges on one sheet.
Private Sub Workbook_BeforePrint(Cancel As Boolean
Dim wsSheet As Workshee
For Each wsSheet In ActiveWindow.SelectedSheet
With wsSheet.PageSetu
.Zoom = Fals
.FitToPagesWide =
.FitToPagesTall =
End Wit
End Su
Worksheet “Scorecard†scale is 95%, one print range: B1:BA4
Worksheet “Customer†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Financial†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Learning†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
Worksheet “Process†scale is 90%, three print ranges: B1:BA32, B33:BA64, B65:BA9
(If the print range is not given, Excel will print all three ranges on one sheet.
Private Sub Workbook_BeforePrint(Cancel As Boolean
Dim wsSheet As Workshee
For Each wsSheet In ActiveWindow.SelectedSheet
With wsSheet.PageSetu
.Zoom = Fals
.FitToPagesWide =
.FitToPagesTall =
End Wit
End Su