Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that creates some worksheets, then goes through them and sets
Page properties (landscape, margins...) like this: With ActiveSheet.PageSetup .Columns.AutoFit .LeftHeader = "" .CenterHeader = "" .RightHeader = "" ...etc.. End With Performance is TERRIBLE when these statements run. The rest of my macro only a couple of seconds to complete, but the statements maniuplating the properties for the PageSetup object run incredibly slow. What makes it worse, I need to perform the maniuplations on each of the worksheets I create, exponentially making the problem worse. Is there another way to do this? Anyone know why its so darned slow? Any ideas greatly appreciated. J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PageSetup Macro | Excel Worksheet Functions | |||
PageSetup | Excel Discussion (Misc queries) | |||
SetZoom in PageSetup | Excel Programming | |||
PageSetup is slow | Excel Programming | |||
PageSetup slow | Excel Programming |