Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Q: copying PageSetup properties from one worksheet to another
Hi
Can someone tell me how to correctly copy the PageSetup properties from 1 worksheet to another. I would like to copy every property over but dont want to write code listing every single property, I would like to do it "automatically" in the code. For example, will the following work properly? myNewWorksheet.PageSetup = myOldWorksheet.PageSetup Or is there a way to loop over the pageSetup properties? eg for each ??? in PageSetup myNewWorksheet.PageSetup.???? = myOldWorksheet.PageSetup.??? next ??? Thanks A |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Worksheet Properties - Last User | New Users to Excel | |||
Worksheet properties | Excel Programming | |||
worksheet Name and (Name) properties | Excel Programming | |||
Properties - Workbook and Worksheet | Excel Programming | |||
resetting worksheet properties | Excel Programming |