cath_hopes
Registered User.
- Local time
- Today, 10:38
- Joined
- Oct 17, 2007
- Messages
- 52
hi there!
I've a print button on my form that prints a report version of the same current form. This works fine.
I would like now to add another button to the form that opens the email editor with the report version as an attachment. Since the email recipient is unlikely to have Access installed, I would like this attachment to be in a different file format, .pdf or .snp, for example.
To achieve this I guess I need to use perhaps the DoCmd 'Output To' and then 'SendObject' in the VBA behind my new button. Or maybe a macro? The thing is I don't want to have to save the new format file anywhere unless it can be automatically deleted by the VBA once the email has been sent/ closed. The hard drive will just become clogged with unnecessary files.
Has anyone done something like this /any suggestions?
Thanks in advance,
Catherine
I've a print button on my form that prints a report version of the same current form. This works fine.
I would like now to add another button to the form that opens the email editor with the report version as an attachment. Since the email recipient is unlikely to have Access installed, I would like this attachment to be in a different file format, .pdf or .snp, for example.
To achieve this I guess I need to use perhaps the DoCmd 'Output To' and then 'SendObject' in the VBA behind my new button. Or maybe a macro? The thing is I don't want to have to save the new format file anywhere unless it can be automatically deleted by the VBA once the email has been sent/ closed. The hard drive will just become clogged with unnecessary files.
Has anyone done something like this /any suggestions?
Thanks in advance,
Catherine