Macro to print lines

jmendenhall1960

New Member
Joined
Feb 14, 2012
Messages
41
Hello been a while for me.

What I want to do Is print sheet multiple sheets after, The sheet is updated by new row fromunscreenedPatients then advances 1 row and starts over

Sheet2 is populated from sheet1 then needs printed.


I need to start from Cell A2 from unscreenedPatients andcontinue on for a set number (say 50).

I need the sheet to increase 1 row fill in sheet2 print;fill in sheet2 from next row in unscreenedPatients and continue on.

Would like a way to control start line and end line as I can’t print 2500sheets at a time, nor would I want to.

If not able to set number of lines to print I could deletethe lines I print and then use macro again later.

Any help greatly appreciated.
Thanks


 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,214,516
Messages
6,119,979
Members
448,934
Latest member
audette89

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