Attatchment Printing Automation

  • Thread starter Thread starter DennaD
  • Start date Start date
D

DennaD

I can't seem to develop the proper code to have outlook
print attachments to all "conditional" files
automatically. The Attachment Collection does not refer
to any attached documents; it refers to the items within
the email (CC, BCC, Subject, etc.). It lets me Add an
attachment with code, but I can't print an existing one?

So, what do I do?
 
Attachments live outside of the normal things you can do with Outlook VBA.
The only useful things you can do are to delete them or save them to a file.
You can use VB code, such as the Shell function, to run attachments after
you save them. However, you can't natively print them from within Outlook.
Your best bet is to use the print functionality within whatever program is
the default handler for a particular attachment's file format.
 
Back
Top