Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Right now my VBA code creates a number of worksheets and then sets a bunch
of their PageSetup properties. Because PageSetup can be so slow, I would like to set all of the properties at once. I tried: With Sheets(Array("Sheet2", "Sheet1")).PageSetup .LeftHeader = "foo" ... End With But I get a run-time error on the With statement (438 Object doesn't support this property or method). Is there some other way to accomplish this or to dynamically (and temporarily) define what the default PageSetup properties should be for newly added worksheets? TIA, josh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
recalculate page breaks after setting Zoom in pagesetup | Excel Discussion (Misc queries) | |||
Excel VBA: Setting PageSetup.TopMargin for _EACH_ page | Excel Programming | |||
Q: copying PageSetup properties from one worksheet to another | Excel Programming | |||
read ZOOM after setting FitToPagesWide in pagesetup | Excel Programming | |||
read ZOOM after setting FitToPagesWide in pagesetup | Excel Programming |