Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing msoutl.olb

Status
Not open for further replies.

primagic

IS-IT--Management
Jul 24, 2008
476
GB
I am getting this error when opening my database. I have reference Outlook object library as I have the following code that sends an email from outlook. If I remove the reference the code below doesn't work. Is there a way around this. I have read somewhere about late binding?

Code:
Private Sub Email_DblClick(Cancel As Integer)
On Error GoTo Err_Email_DblClick
    DoCmd.SendObject acSendNoObject, , HTML, Me.Email, , , "Please quote reference number" & " " & Me!SchoolID & " " & "when phoning"

Exit_Email_DblClick:
    Exit Sub

Err_Email_DblClick:
    MsgBox Err.Description
    Resume Exit_Email_DblClick
End Sub
 
Outlook is the default program. Sorry I wasnt clear I am getting a missing reference to the object msoutl.olb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top