Hi; I have a report which when opened via the Database Window can be easily sent as an email attachment in various formats using the menu File->Send to... etc..
However, when I open the same report via VBA with:
the attachment that gets created is all weird. It looks nothing like the report (more like a datasheet view) and it displays no data. Also in this second scenerio when I try to "Send to as attachment" the choice of FileFormats is all different and for example the Snapshot Format is not even listed.
What am I doing wrong?
However, when I open the same report via VBA with:
Code:
DoCmd.OpenReport "rptRegistrationList", acPreview
What am I doing wrong?