O
Ola Sigurdh
I have a workbook with several worksheets , when the workbook is ready for
printing I want to print out 1 page with 3 copies of three of the
worksheets and 1 to 10 pages with three copies of another sheet, depending
of how much data it is in that sheet. My question is. How to find out how
many pages that has data in it and then just print those pages. I have data
in columns A-G. I know how to record a macro to do the first thing and then
go to the next sheet and do the same thing again.
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=3
Sheets("Page2").Select
One more question. If I want to print out a worksheet if it contains data in
range B16:I46 and not print it if the range contains nothing how can I do
that in the first line of the macro above?
TIA
Ola Sigurdh
printing I want to print out 1 page with 3 copies of three of the
worksheets and 1 to 10 pages with three copies of another sheet, depending
of how much data it is in that sheet. My question is. How to find out how
many pages that has data in it and then just print those pages. I have data
in columns A-G. I know how to record a macro to do the first thing and then
go to the next sheet and do the same thing again.
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=3
Sheets("Page2").Select
One more question. If I want to print out a worksheet if it contains data in
range B16:I46 and not print it if the range contains nothing how can I do
that in the first line of the macro above?
TIA
Ola Sigurdh