Private Sub Command86_Click()
QuotedID = Me.QuoteID
DoCmd.OpenQuery "QuoteStatusDeliveryUpdate"
Dim myPath As String
Dim strReportName As String
myPath = "J:\AccessApp\QuotesTemp\"
strReportName = "Finishing-TechnologySalesQuote" & ".pdf"
DoCmd.OutputTo acOutputReport, "", acFormatPDF, myPath + strReportName, False
'On Error GoTo Err_C1Email_DblClick
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Dim MailAttach As Variant
Dim EmailAddress As String
Dim Body As String
Set OutApp = CreateObject("Outlook.Application", "localhost")
Set OutMail = OutApp.CreateItem(olMailItem)
Set MailAttach = OutMail.Attachments
With OutMail
.SentOnBehalfOfName = "(Removed)"
.To = [Reports]![rptQuote]!
.CC = [Reports]![rptQuote]![RepEmail]
.BCC = ""
.Subject = "RE: Your " & [Reports]![rptQuote]![qryPrintQuoteService subreport]![Process] & " Quote"
.Body = "Test"
.Attachments.Add "J:\AccessApp\QuotesTemp\Finishing-TechnologySalesQuote.pdf", olByValue, 1
.Display
End With
Set OutMail = Nothing
Set OutApp = Nothing
MsgBox "Please note that Outlook must be running in order for this email to actually send.", vbQuestion + vbOKOnly, "Is Outlook Open?"
Exit_C1Email_DblClick:
Exit Sub
Err_C1Email_DblClick:
MsgBox Err.Description
Resume Exit_C1Email_DblClick
I just need a little help getting the contents of the word doc "copied" into the email message. Any help would be appreciated. Very sorry about the blank posts... but the forum requires 10 posts in order to allow email addresses.