All,
Hoping someone can help.
I have a excel book with several sheets that get filled in and the aim is to have a button on the last sheet to send the completed form attached to an email. I've managed to get this bit sorted and a simple subject line with some generic text however I'd like to have specific text also added and also to different email addresses
Below is the macro I've done to send it to just me so far.
Sub SendIt()
Application.Dialogs(xlDialogSendMail).Show arg1:=Array("someone@somewhere.com"), _
arg2:="test report"
End Sub
I assume that after the first email I simply add another with in a new set of "" but would this be in the same bracket set?
Arg2:= "Test Report" is the subject and is a manual addition on the macro, however I would like (if at all possible) to added 2 bits of info from different cells with in the workbook that are on the same sheet.
For example if on sheet 1 in cell A2 I have "Bacon" and then in cell A15 I have "Sandwich" then I'm hoping to have the email subject "Test Report Bacon Sandwich"
Hoping someone can help.
I have a excel book with several sheets that get filled in and the aim is to have a button on the last sheet to send the completed form attached to an email. I've managed to get this bit sorted and a simple subject line with some generic text however I'd like to have specific text also added and also to different email addresses
Below is the macro I've done to send it to just me so far.
Sub SendIt()
Application.Dialogs(xlDialogSendMail).Show arg1:=Array("someone@somewhere.com"), _
arg2:="test report"
End Sub
I assume that after the first email I simply add another with in a new set of "" but would this be in the same bracket set?
Arg2:= "Test Report" is the subject and is a manual addition on the macro, however I would like (if at all possible) to added 2 bits of info from different cells with in the workbook that are on the same sheet.
For example if on sheet 1 in cell A2 I have "Bacon" and then in cell A15 I have "Sandwich" then I'm hoping to have the email subject "Test Report Bacon Sandwich"