I´ve red three or four solutions here to export .snp files, with two methods:
SendObject, or OuputTo. But, when I change the Ouput format to .snp file, an error message, # 2282, stop the procedure and explains that Object format I´m trying to create is not available. What is wrong ?
best regards
It would have been helpfull to troubleshoot this if you had posted the code you were trying.
Agreed?
;-)
You will get that error if you do not spell "acFormatSNP" correctly or you put the wrong argument or value in this space.
Check your syntax, it should look like this:
DoCmd.SendObject acSendReport, "YourReportName", acFormatSNP, "Person@Email.com", , , "Snap!", "Snapping!", True
JeffCoachman
Open in new window