Macro to define a print area

Solved
marc41000 Posted messages 58 Registration date   Status Member Last intervention   -  
marc41000 Posted messages 58 Registration date   Status Member Last intervention   -
Bonjour,

I have a data table with 16 columns and x rows.
The first 12 rows contain general information about the table. The data starts from row 13 up to x.

I would like to have a button that formats the layout so that there are at most 15 lines of data on one page; if there are more than 15 lines, it should print on another page, etc.

If there are additional pages printed, I would like rows 5 to 12 to be printed at the top of each sheet as well.

Is this possible?

Thank you.

29 answers

  • 1
  • 2
Le Pingou Posted messages 12273 Registration date   Status Contributor Last intervention   1 476
 
Hello,
Why not use the [ZoneImpr] tool directly in the [Page layout] tab.... !

--
Regards.
The Penguin
0
  • 1
  • 2