Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Because of the slow execution of .PageSetup property with specific printers,
especially when done on multiple sheets, because of cumulative time, I would like to programmatically cahnge that property all at once on all sheets. As that operation is possible manually if multiple sheets are selected, I tried to register the macro and it gave following lines: Sheets(Array("Sheet1", "Sheet2", "Sheet3", "Sheet1 (2)", "Sheet2 (2)")).Select Sheets("Sheet1").Activate With ActiveSheet.PageSetup .LeftFooter = "&12Test 3ème test" & Chr(10) & "C O N F I D E N T I A L" End With Unfortunately, when replayed, the macro only modify the first sheet of the array. how to do that programmatically ? Thanks in advance for your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy custom footer across multiple sheets | Excel Worksheet Functions | |||
Using same Header & Footer for Multiple Sheets in Excel | Excel Discussion (Misc queries) | |||
Header or Footer to show up on multiple sheets in a document | Excel Worksheet Functions | |||
how do i change footer settings on multiple sheets at the same ti. | Excel Worksheet Functions | |||
Changing the value in multiple sheets without selecting those sheets | Excel Programming |