0
votes

Using VBA how can I copy an Excel sheet to a new workbook using the sheets print range as the cell range to copy?

1

1 Answers

0
votes

Yourworksheet is the worksheet with your data that you will have to declare accordingly.

Dim PrintZone As String

PrintZone = Yourworksheet.PageSetup.PrintArea

Yourworksheet.Range(PrintZone).Copy

Workbooks.Add

ActiveSheet.Paste