Attatchment Printing Automation

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?
 
E

Eric Legault [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top