Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I notice that whenever I cange a poperty of the PageSetup object the macro gets much slower. I estimate that changing any PageSetup property takes about 1.5 seconds.
Have you also notived this behaviour? Is there an explanation? Is there a way around? thanks, Christof |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Setting pagesetup in vba IS slow. You don't really need to do it though as once set for a worksheet, it stays that way. There's not really a workaround / speedier way to do it AFAIK
|
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Christof,
I notice that whenever I cange a poperty of the PageSetup object the macro gets much slower. I estimate that changing any PageSetup property takes about 1.5 seconds. Have you also notived this behaviour? Is there an explanation? Is there a way around? Many people use the much faster XLM PAGE.SETUP function: ExecuteExcel4Macro "=PAGE.SETUP(...)" For details of all the parameters, download the macrofun help file from the MS Web site (search for macrofun or xlmacr8) Regards Stephen Bullen Microsoft MVP - Excel www.BMSLtd.co.uk |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the info
|
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
After you use it try
ActiveSheet.DisplayPageBreaks = False -- Regards, Tom Ogilvy "Christof DB" wrote in message ... I notice that whenever I cange a poperty of the PageSetup object the macro gets much slower. I estimate that changing any PageSetup property takes about 1.5 seconds. Have you also notived this behaviour? Is there an explanation? Is there a way around? thanks, Christof |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot get VBA to Change PageSetup.FitToPagesWide = 1 | Excel Discussion (Misc queries) | |||
PageSetup Macro | Excel Worksheet Functions | |||
PageSetup | Excel Discussion (Misc queries) | |||
Why is this PageSetup Macro So Slow? | Excel Discussion (Misc queries) | |||
PageSetup slow | Excel Programming |