Dim olapp As Object
Dim olns As Object
Dim olfolder As Object
Dim olitem As Object
Dim olattach As Object
Set olapp = CreateObject("Outlook.Application")
Set olns = olapp.GetNamespace("MAPI")
Set olfolder = olns.getdefaultfolder(6)
Set olitem = olapp.createitem(0)
Set olattach = olitem.attachments
'olitem.To = ""
olitem.CC = ""
olitem.Subject = ""
olitem.body = "
olattach.Add "c:\temp\.pdf", 1
olattach.Add "c:\temp\.pdf", 1
olitem.display
olitem.send
Set olitem = Nothing
Set rs = Nothing
Set db = Nothing
Set olfolder = Nothing
Set olns = Nothing
Set olapp = Nothing