M
MikeC
I have tested the below code and it works. At least it
works in Access XP and later. An earlier version of
Access is not available to me right now and I don't
remember whether the below "acFormatSNP" constant is
supported in A2K or A97.
Also worth noting is that "acFormatSNP" is not shown in in
AXP's online help for SendObject. However, this constant
is shown in the Object Browser.
Dim strReportName As String
strReportName = "YourReport"
DoCmd.SendObject acSendReport, strYourReport,
acFormatSNP, "(e-mail address removed)", _
, , "It's A Snapshot File!", "See attached report in
snap shot file format.", True
works in Access XP and later. An earlier version of
Access is not available to me right now and I don't
remember whether the below "acFormatSNP" constant is
supported in A2K or A97.
Also worth noting is that "acFormatSNP" is not shown in in
AXP's online help for SendObject. However, this constant
is shown in the Object Browser.
Dim strReportName As String
strReportName = "YourReport"
DoCmd.SendObject acSendReport, strYourReport,
acFormatSNP, "(e-mail address removed)", _
, , "It's A Snapshot File!", "See attached report in
snap shot file format.", True