philwood12
asked on
Macros in Outlook 2010
I need to create a macro that prints duplex when printing emails. Anyone know how I can do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For applications that do not allow you to control the print, like Outlook and other business software, I set up multiple copies of the same printer. Each with different default printing preferences.
Example names in the printer list: HP4200 Legal, HP4200 Legal Duplex, etc.
When you print, you select the print that has the settings you want.
I started doing this back with Windows 3.1. Works great.
Example names in the printer list: HP4200 Legal, HP4200 Legal Duplex, etc.
When you print, you select the print that has the settings you want.
I started doing this back with Windows 3.1. Works great.
ASKER
Hi Terry. I tried your VB code, but I keep getting a Compile error: Sub or Function not defined message at RegistryGetValue. Any ideas?
Sure, did you have a look at:
...Chip Pearson has done all the hard work for registry functions in VBA. Copy the two modules in the Excel file to your Outlook VBE....
The RegistryGetValue is part of those modules
Cheers...Terry
...Chip Pearson has done all the hard work for registry functions in VBA. Copy the two modules in the Excel file to your Outlook VBE....
The RegistryGetValue is part of those modules
Cheers...Terry
ASKER
Hi Terry. Which two modules? The modGetSystemErrorMessage Text and modRegistry modules?
Maybe
http://h30434.www3.hp.com/t5/Printer-All-in-One-Software-Drivers-e-g-Windows-8/Printing-duplex-programmatically-using-VBA-in-Microsoft/td-p/1744621
Regards