#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default PageSetup

Setting the properties of the pagesetup object (e.g. LeftHeader,
RightHeader, LeftMargin etc, etc) seems to take a long time.
Is there a way to speed this up? The turning the Application.ScreenUpdating
off doesn't help nor does switching the Application.Calculation to manual
but is there something like this to speed up the pageSetup
properties/methods.

Thanks for any help
Fred


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 373
Default PageSetup

If you recorded the macro to do this, it would be worthwhile to go back and
remove all the lines in the code that aren't actually changing the page
setup. Those lines have to be executed, as well, so if you're just setting
the header for instance, remove all the lines that don't deal with the
header. That should speed things up. James

"Fred" <leavemealone@home wrote in message
...
Setting the properties of the pagesetup object (e.g. LeftHeader,
RightHeader, LeftMargin etc, etc) seems to take a long time.
Is there a way to speed this up? The turning the
Application.ScreenUpdating off doesn't help nor does switching the
Application.Calculation to manual but is there something like this to
speed up the pageSetup properties/methods.

Thanks for any help
Fred




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get PageSetup to work [email protected] Excel Programming 5 January 18th 07 10:57 AM
PageSetup Stanley Excel Discussion (Misc queries) 1 December 14th 05 07:21 PM
PageSetup Simon Shaw Excel Programming 3 May 28th 05 01:28 PM
PageSetup Simon Shaw[_4_] Excel Programming 1 May 28th 04 08:41 AM
VBA 'PageSetup' performance John[_74_] Excel Programming 1 January 29th 04 01:28 AM


All times are GMT +1. The time now is 05:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"