E
EagleOne@microsoftdiscussiongroups
2003
The following commands work fine:
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.Orientation = xlPortrait
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.Orientation = xlLandscape
The next commands do not "bomb" but that do not change the PageSetup as
listed.
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.FitToPagesWide = 1
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.FitToPagesTall = 1
I must go to the PageSetup wizard, make the change from 50% to 1 and 1.
Any thoughts and VBA changes helpful.
TIA EagleOne
The following commands work fine:
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.Orientation = xlPortrait
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.Orientation = xlLandscape
The next commands do not "bomb" but that do not change the PageSetup as
listed.
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.FitToPagesWide = 1
ActiveWorkbook.Worksheets("STARS_UMD").PageSetup.FitToPagesTall = 1
I must go to the PageSetup wizard, make the change from 50% to 1 and 1.
Any thoughts and VBA changes helpful.
TIA EagleOne