D
Dennis
Using XL 2003 & 97
How do I finish the following:
ActiveSheet.PageSetup.PrintArea = ???UsedRange???
Attempting to use a Macro to set all PageSetup paramaters for all Sheets in
the ActiveWorkbook.
Got all except that I want to set the PrintArea to the UsedRange of each
sheet.
(Attempted and it did not work):
Dim MyRange As Range
MyRange = ActiveSheet.UsedRange
With EachSheet.PageSetup
.PrintArea = MyRange
. ...........................
End With
Thoughts?
TIA Dennis
How do I finish the following:
ActiveSheet.PageSetup.PrintArea = ???UsedRange???
Attempting to use a Macro to set all PageSetup paramaters for all Sheets in
the ActiveWorkbook.
Got all except that I want to set the PrintArea to the UsedRange of each
sheet.
(Attempted and it did not work):
Dim MyRange As Range
MyRange = ActiveSheet.UsedRange
With EachSheet.PageSetup
.PrintArea = MyRange
. ...........................
End With
Thoughts?
TIA Dennis