Sub email()
Dim MyPath As String, PDFFilename As String, OutputString As String
Dim objOL As New Outlook.Application
Dim objPO As String, objCust As String
Dim objMail As MailItem
Set objOL = New Outlook.Application
Set objMail = objOL.CreateItem(olMailItem)
Let MyPath = "C:\Documents and Settings\" + UserNameWindows() + "\My Documents"
'Let MyPath = "Z:\TMP PDF"
Range("D6").Select
Let objCust = Application.ActiveCell
Let PDFFilename = Application.ActiveCell & ".pdf"
Range("E7").Select
Let objPO = Application.ActiveCell
OutputString = MyPath & Application.PathSeparator & PDFFilename
With objMail
' .To = "blah@blah.com"
.Subject = "text here" & PDFFilename
.Body = "Body test here " & objCust & " extra stuff " & objPO
.Attachments.Add OutputString
.Display
' .Send
End With
Set objMail = Nothing
Set objOL = Nothing
End Sub