ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Print a word doc from Excel (https://www.excelbanter.com/excel-programming/382294-print-word-doc-excel.html)

Peter[_61_]

Print a word doc from Excel
 
Calling the finest minds of this group:

I have a macro that is editing a word doc, that part is fine. The
problem is how to change the printer settings to use the colour
printer!

Does anyone have any ideas?

Thanks,

Peter


Tom Ogilvy

Print a word doc from Excel
 
Look at Excel VBA help for application.ActivePrinter

You can get the string the colour printer by selecting it manually, then in
the immediate window you can do

? Application.ActivePrinter

--
Regards,
Tom Ogilvy


"Peter" wrote:

Calling the finest minds of this group:

I have a macro that is editing a word doc, that part is fine. The
problem is how to change the printer settings to use the colour
printer!

Does anyone have any ideas?

Thanks,

Peter




All times are GMT +1. The time now is 09:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com