Hello everyone,
I'm trying to get this Sub procedure to execute after the selected worksheet is printed. Any suggestions?
Sub Save_Printout()
Dim s As String, Sh As Worksheet
Set Sh = ActiveSheet
Sh.Copy
s = "c:\printed sheets\" & Range("M5").Value 'save location and name of worksheet
ActiveWorkbook.SaveAs Filename:=s
Range("A1:IV5000").Copy 'selects all cells
Range("A1").PasteSpecial Paste:=xlPasteValuesAndNumberFormats 'pastes values only
Application.CutCopyMode = False
Range("A1").Select 'this is just to take the cursor
'back to the top to make that sheet a litte "cleaner"
ActiveWorkbook.Close SaveChanges:=True
End Sub