Sending a report via outlook

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neosam
    New Member
    • Mar 2008
    • 47

    Sending a report via outlook

    Hi,

    Could someone tell me if the code i have written has the correct syntax.

    Code:
    DoCmd.SendObject acSendReport as acSpreadSheetType , "reportname", , "email@id.com", , , "report", "Pls find Report",,
  • puppydogbuddy
    Recognized Expert Top Contributor
    • May 2007
    • 1923

    #2
    Originally posted by neosam
    Hi,

    Could someone tell me if the code i have written has the correct syntax.

    Code:
    DoCmd.SendObject acSendReport as acSpreadSheetType , "reportname", , "email@id.com", , , "report", "Pls find Report",,

    DoCmd.SendObjec t acSendReport, "reportname ", acFormatXLS, "email@id.c om", , "report", Pls find Report", False


    Syntax Per Access Help:

    Syntax

    DoCmd.SendObjec t [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]

    Comment

    • neosam
      New Member
      • Mar 2008
      • 47

      #3
      Originally posted by puppydogbuddy
      DoCmd.SendObjec t acSendReport, "reportname ", acFormatXLS, "email@id.c om", , "report", Pls find Report", False


      Syntax Per Access Help:

      Syntax

      DoCmd.SendObjec t [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
      Hi Puppydogbuddy

      Thats awesome.. thanks...

      Comment

      Working...