By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,591 Members | 650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,591 IT Pros & Developers. It's quick & easy.

Sending a report via outlook

P: 47
Hi,

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

Expand|Select|Wrap|Line Numbers
  1. DoCmd.SendObject acSendReport as acSpreadSheetType , "reportname", , "email@id.com", , , "report", "Pls find Report",,
  2.  
Jun 20 '08 #1
Share this Question
Share on Google+
2 Replies


puppydogbuddy
Expert 100+
P: 1,923
Hi,

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

Expand|Select|Wrap|Line Numbers
  1. DoCmd.SendObject acSendReport as acSpreadSheetType , "reportname", , "email@id.com", , , "report", "Pls find Report",,
  2.  

DoCmd.SendObject acSendReport, "reportname", acFormatXLS, "email@id.com", , "report", Pls find Report", False


Syntax Per Access Help:

Syntax

DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
Jun 21 '08 #2

P: 47
DoCmd.SendObject acSendReport, "reportname", acFormatXLS, "email@id.com", , "report", Pls find Report", False


Syntax Per Access Help:

Syntax

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

Thats awesome.. thanks...
Jun 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.