M
Michel Pilon
Hi everyone,
I have a problem with the following code
LINE 1: Dim MyRange As Range
LINE 2: Set MyRange = Range("A7",[A7].End(xlDown))
LINE 3: ActiveSheet.PageSetup.PrintArea = MyRange
LINE 3 does not work. MyRange is not accepted for specifying a range.
Can anyone help me?
Thanks
I have a problem with the following code
LINE 1: Dim MyRange As Range
LINE 2: Set MyRange = Range("A7",[A7].End(xlDown))
LINE 3: ActiveSheet.PageSetup.PrintArea = MyRange
LINE 3 does not work. MyRange is not accepted for specifying a range.
Can anyone help me?
Thanks