Question : Is it possible to select paper type as a Macro?

I need to print on legal paper but when I use the Macro recorder it does not record me changing the paper type. Is this possible ?
1:
2:
3:
4:
5:
6:
7:
Sub Test()
'
    Range("A1").Select
    ActiveCell.Select
    Selection.AutoFill Destination:=ActiveCell.Range("A1:A3285")
    ActiveCell.Range("A1:A3285").Select
End Sub

Answer : Is it possible to select paper type as a Macro?

try

ActiveSheet.PageSetup.PaperSize = xlPaperLegal

Thomas
Random Solutions  
 
programming4us programming4us