Hi,
I have taken your fields and created a form letter. I hope this helps. I have tried it here and it works. Good Luck!
'******begin code*****
Private Sub cmdSendEmail_Click()
Dim strEmail, strBody As String
Dim objOutlook As Outlook.Application
Dim objEmail As Outlook.MailItem
'**creates an instance of Outlook
Set objOutlook = CreateObject("Outlook.application"

Set objEmail = objOutlook.CreateItem(olMailItem)
'**************************************************************
'*create string with email address
strEmail = txtEmail
strBody = txtTDate & Chr(13) & Chr(13)
strBody = strBody & "Dear " & txtFName & " " & txtLName & "," & Chr(13) & Chr(13)
strBody = strBody & "We have received your information and are processing it promptly. Please review the information" & _
" below to ensure our accuracy." & Chr(13) & Chr(13) & Chr(13)
strBody = strBody & "Name: " & txtFName & " " & txtLName & Chr(13)
strBody = strBody & "Address: " & txtAddress & Chr(13)
strBody = strBody & "City, State, Zip: " & txtCity & ", " & txtState & ". " & txtZip & Chr(13)
strBody = strBody & "Country: " & txtCountry & Chr(13) & Chr(13)
strBody = strBody & "Account Number: " & txtAccount & Chr(13)
strBody = strBody & "Schedule Date: " & txtSDate & Chr(13)
strBody = strBody & "License: " & txtLicense & Chr(13)
strBody = strBody & "Issuing Address: " & txtIssueAddress & Chr(13)
strBody = strBody & "Issue Code: " & txtIssueCode & Chr(13)
strBody = strBody & "Issue Code Description: " & txtIssueCodeDescrip & Chr(13) & Chr(13)
strBody = strBody & "Special Notes: " & txtNotes & Chr(13) & Chr(13)
strBody = strBody & "Sincerely," & Chr(13) & Chr(13)
strBody = strBody & "Acme Corporation"
'***creates and sends email
With objEmail
.To = strEmail
.Subject = "Your information has been received"
.Body = strBody
.Send
End With
Set objEmail = Nothing
'****closes Outlook. remove if you do not want to close Outlook
objOutlook.Quit
Exit Sub
End Sub
'****end code*****
Have a Great Day!!!
Please give helpful posts the Stars they deserve. It makes the post more visible for others
Nathan
Senior Test Lead