Private Sub CommandButton4_Click()
If NotesBox.Value = "" Then
MsgBox "Please enter 'Comments'"
Exit Sub
Else
End If
Dim aOutlook As Object
Dim aEmail As Object
Dim rngeAddresses As Range, rngeCell As Range, strRecipients As String
Set aOutlook = CreateObject("Outlook.Application")
Set aEmail = aOutlook.CreateItem(0)
aEmail.Body = "Hi There," & Chr(10) & vbCrLf & _
"Appt Number: " & Me.TextBox5.Value & Chr(10) & _
"MPAN / MPRN: " & Me.TextBox4.Value & Chr(10) & _
"Post Code: " & Me.TextBox3.Value & Chr(10) & _
"Comments: " & Me.NotesBox.Value & Chr(10) & _
"Issue: " & Me.ComboBox3.Value & Chr(10) & _
"Action Required: " & Me.ComboBox4.Value & Chr(10) & vbCrLf & _
"Many thanks " & Chr(10)
aEmail.Recipients.Add (Worksheets("Email Links").Range("A2").Value)
aEmail.CC = (Worksheets("Email Links").Range("B2").Value)
aEmail.BCC = ""
aEmail.Subject = "" & UserForm4.ComboBox3.Value & " " & Worksheets("Handover").Range("K1").Value
aEmail.Display
End Sub