Sub DoALLsingle()
'Assistance gratefully received from Dom Hill, JBeaucaire, James Vaughan and Snowblizz, APRIL 2010
'For this code to work the Adobe Distiller VBA library must be enabled
'Select Tools...References in the VBA editor and check it from the list
'Printer Preferences for "Adobe PDF" printer need to have "Rely on system Fonts" unchecked
Dim tempPDFFileName, tempPSFileName, tempPDFRawFileName As String, mypdfDist As New PdfDistiller, _
i As Integer, Mail_Object, Email_Subject, o As Variant
tempPDFRawFileName = "G:\Temp\" & ActiveWorkbook.Name ' Change File Path to suit
tempPSFileName = tempPDFRawFileName & ".ps"
tempPDFFileName = tempPDFRawFileName & ".pdf"
ActiveSheet.PrintOut Copies:=1, preview:=False, ActivePrinter:="Adobe PDF", _
printtofile:=True, Collate:=True, prtofilename:=tempPSFileName
mypdfDist.FileToPDF tempPSFileName, tempPDFFileName, ""
Kill tempPSFileName
Set mypdfDist = Nothing
'************End of PDF section*************
'************Start of emailing code*********
Set Mail_Object = CreateObject("Outlook.Application")
With Mail_Object.CreateItem(o)
.Subject = "SUBJECT LINE" ' CHANGE TO SUIT
.To = "RECIPIENTS ADDRESS" 'CHANGE TO SUIT
.Body = "E MAIL TEXT GOES HERE" & Chr(13) & Chr(13) & "Regards," & Chr(13) & "YOUR NAME." & Chr(13) & "YOUR ADDRESS." 'Change comments to suit
.Attachments.Add tempPDFFileName
.Send
End With
MsgBox "E-mail successfully sent", 64
Application.DisplayAlerts = False
Set Mail_Object = Nothing
End Sub