N
NICK
Hi All
I would like to write a macro which selects a range which I have named as
the print area.
I am able to select a print area by writing (for example):
ActiveSheet.PageSetup.PrintArea = "$A$1:$A$10"
However, if I name the range A1:A10 as "PrintArea" then I would think the
following macro should work but it does not:
ActiveSheet.PageSetup.PrintArea = Range("PrintArea")
If anyone has any ideas it would be greatly appreciated!
Cheers
Nick
I would like to write a macro which selects a range which I have named as
the print area.
I am able to select a print area by writing (for example):
ActiveSheet.PageSetup.PrintArea = "$A$1:$A$10"
However, if I name the range A1:A10 as "PrintArea" then I would think the
following macro should work but it does not:
ActiveSheet.PageSetup.PrintArea = Range("PrintArea")
If anyone has any ideas it would be greatly appreciated!
Cheers
Nick