To the Excel/Printing expert,
I made a macro for printing the 12 sheets (named 'jan', 'feb'...etc).
Besides some user questions the macro has 12 times the following statement:
(generated via the 'recording macro' function)
Sheets("jan").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
For each sheet the printing area has been defined for the maximum number of lines.
Printing of 12 reports works nice, but
I have two questions:
1.The report is printed on the default printer. This is not what I want. I would like the 'ín between window' where I can select the printer. How do I get that window?
2.Early in the year the monthly reports are short. Is it possible to set the printarea in the macro? The lines to be printed can easily be calculated: (data lines start at row 7) col A holds a number . The highest number is the last line to be printed. Can printed areas of the 12 sheets be printed in one report (header taken from sheet 'jan' – rows 1-6)?
Thanks for your help.
Paul
I made a macro for printing the 12 sheets (named 'jan', 'feb'...etc).
Besides some user questions the macro has 12 times the following statement:
(generated via the 'recording macro' function)
Sheets("jan").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
For each sheet the printing area has been defined for the maximum number of lines.
Printing of 12 reports works nice, but
I have two questions:
1.The report is printed on the default printer. This is not what I want. I would like the 'ín between window' where I can select the printer. How do I get that window?
2.Early in the year the monthly reports are short. Is it possible to set the printarea in the macro? The lines to be printed can easily be calculated: (data lines start at row 7) col A holds a number . The highest number is the last line to be printed. Can printed areas of the 12 sheets be printed in one report (header taken from sheet 'jan' – rows 1-6)?
Thanks for your help.
Paul