Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a user changing PageSetup scaling when opening this workbook/worksheets. Problem is, this in turn changes the print output for other users when they open the workbook €“ makes the print undersize for the page. To enforce a standard, I want to add code to change scaling in the workbook opening sequence (for PageSetup.Zoom) as follows
Worksheet Scalin Scorecard 95 Customer 91 Financial 91 Learning and Growth 91 Internal Business Process 91 How would the following code be modified to accomplish this Sub Auto_Open( Dim ws As Workshee Application.ScreenUpdating = False Application.DisplayFullScreen = True For Each ws In Worksheet If ws.Visible = xlSheetVisible The ws.Selec Application.Goto ws.Range("A1"), True ActiveWindow.DisplayGridlines = False ActiveWindow.DisplayWorkbookTabs = False ActiveWindow.DisplayHeadings = False ActiveWindow.DisplayHorizontalScrollBar = False ActiveWindow.View = xlNormalVie End I Nex Worksheets("Customer").Select 'Selects the Customer workshee ActiveWindow.Zoom = 62 Worksheets("Financial").Select ActiveWindow.Zoom = 62 Worksheets("Learning and Growth").Selec ActiveWindow.Zoom = 6 Worksheets("Internal Business Process").Selec ActiveWindow.Zoom = 6 Worksheets("Scorecard").Selec ActiveWindow.Zoom = 6 ThisWorkbook.Colors(7) = RGB(255, 124, 128 Application.AutoPercentEntry = Tru Application.ScreenUpdating = Tru End Su |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. | Excel Discussion (Misc queries) | |||
recalculate page breaks after setting Zoom in pagesetup | Excel Discussion (Misc queries) | |||
Code modification to accomodate scaling and print areas. | Excel Programming | |||
read ZOOM after setting FitToPagesWide in pagesetup | Excel Programming | |||
read ZOOM after setting FitToPagesWide in pagesetup | Excel Programming |