Hi, I hope that someone can help me.
I have taken a copy of some script to use in sending e-mails from Excel.
The subject of the e-mail will be the value of "topic" on the active row.
The code I have used is as follows - (top of the code only as it is quite long )
Sub TMS_request()
'
Dim rng As Range
Dim OutApp As Object
Dim OutMail As Object
Dim RangetoHTML As String
Dim cell As Range
Dim strbody As String
Dim emailRng As Range, cl As Range
Dim sTo As String
Dim ccRange As Range, cnt As Range
Dim cTo As String
Dim topic As String
topic = Range("X" & Target.Row)
Unfortunately I am getting the error
"Run time Error 424"
Object Required
Any assistance would be very welcome. Thanks
I have taken a copy of some script to use in sending e-mails from Excel.
The subject of the e-mail will be the value of "topic" on the active row.
The code I have used is as follows - (top of the code only as it is quite long )
Sub TMS_request()
'
Dim rng As Range
Dim OutApp As Object
Dim OutMail As Object
Dim RangetoHTML As String
Dim cell As Range
Dim strbody As String
Dim emailRng As Range, cl As Range
Dim sTo As String
Dim ccRange As Range, cnt As Range
Dim cTo As String
Dim topic As String
topic = Range("X" & Target.Row)
Unfortunately I am getting the error
"Run time Error 424"
Object Required
Any assistance would be very welcome. Thanks