View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
heater
 
Posts: n/a
Default Two Print Macros for One Worksheet

I got it - I just added another macro Sub Print_2 and changed the parameters.

"heater" wrote:

I need to print two versions of one spreadsheet. One version needs to print
A1:M98. The other version needs to print A1:Z132. I have the following
macro for A1:M98 -
Sub Print_1()
'
' Print_1 Macro
' ActiveSheet.PageSetup.PrintArea = "$A$1:$m$98"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Range("A1:m98").Select
End Sub

Can I add another button to print A1:Z132, so I do not have to re-set the
print area every time?