Macro help needed plx

Geancanch

New Member
Joined
Mar 10, 2009
Messages
9
Hi guys,

Trying to figure out how I can insert a button that will print sheet 1 on an A4 sheet from tray 1 of the printer, and then print sheet 2 on an A5 sheet from tray 2 of the printer. I figured that a macro would be able to do this, but I am unsure of how to create such a beast.

Any help would be greatly appreciated.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,939
Welcome to the Board!

Maybe try recording the macro, while you perform the task and see if that works. If not it will probably need to be done with sendkeys, but I cannot help you with that because I do not have any way of testing the sendkeys because I do not have a 2 tray printer and A4 or A5 sheets at home.

You could probably use a search engine to search for sendkeys for printing to tray 2 or something.

Hope that helps.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,594
Messages
5,637,299
Members
416,963
Latest member
zazama

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
Top