Right now, I'm in MS Access VBA and doing:
-------------------------------------------------
1070 With mySS.ActiveSheet.PageSetup
1071 .LeftHeader = ""
1072 .leftMargin = 0
1073 .RightMargin = 0
1074 .topMargin = 0
1075 .bottomMargin = 0
1079 .HeaderMargin = 0
1080 .FooterMargin = 0
1081 .Orientation = xlLandscape
1082 .FitToPagesWide = 1
1083 .FitToPagesTall = 1
1089 End With
-------------------------------------------------
This works, but takes a long time - it's like Excel is
re-drawing/reformatting the page for each property instead of
redrawing once at "End With".
I can live with that for one sheet, but this app is creating a
half-dozen sheets in one workbook and the wait time will be too long
if multiplied by six.
Seems like there sb some kind of default in MS Excel that I could set
once when opening up the workbook and then be inherited by each
worksheet I create..... or some way to create a worksheet using an
existing sheet as the template.
Anybody know?
How about the root performance issue? Am I doing something dumb in
the "With" clause?
Bookmarks