DoCmd.SendObject Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bgreer5050

    #1

    DoCmd.SendObject Help

    When I send the report below "OpenPOsQueryRe port" it is sent as an
    attachment. Is there a way to have it sent in the message body?

    Thanks


    Private Sub Report_Page()
    On Error GoTo Err_Command14_C lick


    Dim stDocName As String


    stDocName = "OpenPOsQueryRe port"
    DoCmd.SendObjec t acReport, stDocName, acFormatTXT, [Expr1], , , ,


    Exit_Command14_ Click:
    Exit Sub


    Err_Command14_C lick:
    MsgBox Err.Description
    Resume Exit_Command14_ Click


    End Sub



Working...