troubleshooting Question

How to autoprint files in outlook using visual basic

Avatar of kafrin_1
kafrin_1Flag for Australia asked on
Outlook
2 Comments1 Solution317 ViewsLast Modified:
Currently I'm using the following line to print pdfs from an outlook 2003 macro:
Shell """C:\Program Files\Adobe\Reader 8.0\Reader\acrord32.exe"" /h /p """ + Filename + """", vbHide

I wish to be able to print any type of file - eg doc, dwg, xls etc.
If anyone knows a generic command, or list of standard commands to do this, i would be most appreciative. thank you.

I have ms office 2003, vista, adobe8
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros