Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force New Page using vba

Status
Not open for further replies.

toptech

Programmer
Apr 12, 2001
71
US
Hi There.

My question is:

I am printing an Invoice on a pre-printed Invoice form that has many detail lines.

I have put in a line counter to count over the group.

I would like to force a new page after 14 lines of details.

Any info on this would be appreciated.

Thanks in advance.

Jeff

Top Tech Systems

If you help 3 people and each one of those help 3 other people and so on, imagine all the people being helped.
 
You can add a page-break control to the detail section and set its Visible property to 'No'. Set the Visible property to 'Yes' after 14 lines.
 
Thnaks guys.

That should do it.


Regards,

Jeff



Top Tech Systems

If you help 3 people and each one of those help 3 other people and so on, imagine all the people being helped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top