Hi all - here's a scenario I'm struggling to resolve: I have code that will create 10 additional worksheets based on criteria found in a master worksheet (all within the same workbook).
For the additional worksheets, I would like to set each one to match the master worksheet's print area and page setup options.
Here's code I'm working with:
For the additional worksheets, I would like to set each one to match the master worksheet's print area and page setup options.
Here's code I'm working with:
Code:
Set WSNrange = Range(WSN.Cells(StartRow, 1), WSN.Cells(lastrow, 62))
WSO.Range(WSO.Cells(StartRow, 1), WSO.Cells(lastrow, 62)).Copy
WSNrange.PasteSpecial Paste:=xlPasteAll