derek.hughes
Board Regular
- Joined
- Mar 16, 2012
- Messages
- 53
Can anyone help me out with this code:
It sends the whole workbook and I only want it to send the active sheet.
Code:
Sub HideAllButOneSheet()
Dim SubJ, Recip As String
SubJ = "HE ACTUALS"
Recip = "derek.hughes@vcsu.edu"
ThisWorkbook.SendMail Recip, SubJ
MsgBox "Email Sent"
End Sub
It sends the whole workbook and I only want it to send the active sheet.