Hello so I have the below right now and it's working great but now I want to add in that it also CC's another email when sending.
CC email address will be entered in cell L4. If it's not possible to do a CC like this is there a way that I can just have it sent to the company@company.com and to cell email L4?
(I tried this but it didn't work - If ans = vbYes Then ActiveWorkbook.SendMail "Company@Company.com, Range("L4").Value", "AR Refund request for " .....)
Sub ARSubmit()
'
' ARSubmit Macro
Dim ans As VbMsgBoxResult
If Range("E5").Value Like "*OK to submit*" Then
ans = MsgBox("Are you ready to submit Check/Wire refund request?" & vbLf & vbLf & "Clicking Yes will send an email to Shared Services for processing of your refund.", vbYesNo, "Company Refund Department")
If ans = vbYes Then ActiveWorkbook.SendMail "Company@Company.com", "AR Refund request for " & Range("E21").Value
Else
MsgBox "You have not completed all the minimum required fields."
End If
'
End Sub
CC email address will be entered in cell L4. If it's not possible to do a CC like this is there a way that I can just have it sent to the company@company.com and to cell email L4?
(I tried this but it didn't work - If ans = vbYes Then ActiveWorkbook.SendMail "Company@Company.com, Range("L4").Value", "AR Refund request for " .....)
Sub ARSubmit()
'
' ARSubmit Macro
Dim ans As VbMsgBoxResult
If Range("E5").Value Like "*OK to submit*" Then
ans = MsgBox("Are you ready to submit Check/Wire refund request?" & vbLf & vbLf & "Clicking Yes will send an email to Shared Services for processing of your refund.", vbYesNo, "Company Refund Department")
If ans = vbYes Then ActiveWorkbook.SendMail "Company@Company.com", "AR Refund request for " & Range("E21").Value
Else
MsgBox "You have not completed all the minimum required fields."
End If
'
End Sub