I'm having a problem with Docmd.SendObject so I followed Microsoft's code solution (using clsSendObject) but the code doesn't work. I get "type mismatch" error on the call:
clsSendObject.SendObject acFormatHTML, strName, , , strSubject, strMessage, False
So then I tried the following call and got "Object Variable or with block variable not set" error on the call:
clsSendObject.SendObject acSendNoObject, , accOutputTXT, "schmir1", , , "xxx"
Microsoft's code is listed at: