Guys i have built a reporting d/base thats works fine with access/outlook2000
does what I want, however the user is working on office 2003(no access installed ) so I installed access 2000- great I can see the d/b now and pushed my buttons to get the reports to email outand - it installs outlook 2000- (which I don't want- i want it to use the outlook version already installed ) is this do-able ?
code below is what i am using
any pointers would be appricated (oh and the codes not mine - big thanks to whoever i pinched it off)
Private Sub Command13_Click()
Dim EmailApp, NameSpace, EmailSend As Object
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.GetNamespace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)
EmailSend.To = [Forms]![claimsreporter]![text8]
EmailSend.Subject = "Claims Report for" & " " & [Forms]![claimsreporter]![Text3]
EmailSend.Attachments.Add "C:\temp\cancellation.xls"
EmailSend.Display
Set EmailApp = Nothing
Set NameSpace = Nothing
Set EmailSend = Nothing
End Sub
does what I want, however the user is working on office 2003(no access installed ) so I installed access 2000- great I can see the d/b now and pushed my buttons to get the reports to email outand - it installs outlook 2000- (which I don't want- i want it to use the outlook version already installed ) is this do-able ?
code below is what i am using
any pointers would be appricated (oh and the codes not mine - big thanks to whoever i pinched it off)
Private Sub Command13_Click()
Dim EmailApp, NameSpace, EmailSend As Object
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.GetNamespace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)
EmailSend.To = [Forms]![claimsreporter]![text8]
EmailSend.Subject = "Claims Report for" & " " & [Forms]![claimsreporter]![Text3]
EmailSend.Attachments.Add "C:\temp\cancellation.xls"
EmailSend.Display
Set EmailApp = Nothing
Set NameSpace = Nothing
Set EmailSend = Nothing
End Sub