Macro to Print

lprabhu1107

Board Regular
Joined
Mar 10, 2011
Messages
106
Dear All,

I have a workbook with 10 worksheets. All this sheets needs to be printed in Color. At present iam manually doing this as follows"File---Print---Properties---Color---Uncheck Print in Grayscale---ok---ok"

I have to do the above exercise almost everyday manually.

Is there a way to automate the above with a macro

Regards

Prabhu
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
This won't work for you, but it's an example of some code I use to do something similar

application.SendKeys ("^p{TAB 6}~"), Wait:=True '>Properties>Enter
application.SendKeys ("{TAB}"), Wait:=True '>Paper Select
application.SendKeys ("~"), Wait:=True '>Enter
application.SendKeys ("{UP 4}"), Wait:=True '>Top of list
application.SendKeys ("{DOWN 1}"), Wait:=True '>A4
application.SendKeys ("%p"), Wait:=True '>Alt-p Paper tray
application.SendKeys ("{UP 5}"), Wait:=True '>Top of list (Auto Paper Select)
 
Upvote 0

Forum statistics

Threads
1,224,579
Messages
6,179,656
Members
452,934
Latest member
mm1t1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top