wilkisa
Well-known Member
- Joined
- Apr 7, 2002
- Messages
- 660
- Office Version
- 365
- 2016
- 2013
- Platform
- Windows
My user has the following macro:
Sub Email_1st()
' Clear out any old data on Report
Application.Dialogs(xlDialogSendMail).Show _
arg1:=Array("some.user@company.com"), _
arg2:="Certificate of Appreciation"
ActiveWorkbook.Close
Call Print_Certificate
End Sub
He wants to send only the active sheet instead of the whole workbook. Can someone help me modify this code?
Thanks,
Shirlene
Sub Email_1st()
' Clear out any old data on Report
Application.Dialogs(xlDialogSendMail).Show _
arg1:=Array("some.user@company.com"), _
arg2:="Certificate of Appreciation"
ActiveWorkbook.Close
Call Print_Certificate
End Sub
He wants to send only the active sheet instead of the whole workbook. Can someone help me modify this code?
Thanks,
Shirlene