Here's a sample:
http://www.vboffice.net/sample.html?mnu=2&smp=3&cmd=showitem
- Open the VBA IDE with ALT+f11 and copy the code into 'ThisOutlooksession'.
- The path in ATT_PATH must exist.
- At the end of the code, the line
Case ".xls", ".doc"
tells which documents are printed. Extend the comma separated list with
all of the file extensions you want to be printed.
After the code modifications, save the project and close the VBA IDE, ensure
that under Tools/Macro/Security the security allows to run VBA code (low or
medium), close Outlook and restart it.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - The most effective way to assign Outlook categories:
http://www.shareit.com/product.html?productid=300120654&languageid=1
(German:
http://www.VBOffice.net/product.html?pub=6)
Am Mon, 2 Apr 2007 09:12:01 -0700 schrieb Lily: