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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Place Section Break?

Status
Not open for further replies.

RH610

Programmer
Aug 7, 2001
152
US
I would like my code to place a section break exactly half way down the page in the space between the header and footer. That is, I want to divide the page in half. Is this possible?

Thank You
 
Breaks are inserted at a particular location in the context of text, paragrahps, etc - not at a specific physical location on the page. What are you trying to accomplish - there may be a different way about it.

Rob
[flowerface]
 
Hi,

Thanks for the reply. I have a macro that more or less creates a letter from scratch. Kind of a stock market letter. It takes a list of stocks and puts 2 stocks per page (adding pages as it goes). I want to put the first stock on the page and then put the second stock on the page starting at the halfway point in the page. Thus I need to know how to get the cursor to the top of the second half of the page before I start putting in the text for the second stock.

Thanks
 
Agree with Rob's question/statement. As the break is located by text not physical placement, the crucial question is whether you will add more text to first section of the page. If not, use whatever style you use for the text, and a big fat following style to bring it up to the half page. It would be easy to make multiple following styles of various fatness to match the amount of text you have at the start of the section. Do a line count then follow with the appropriate spacer style. May take a number of possible spacer styles though.
 
I would use tables to handle this. Generate a table on each page, with just one column and two rows. You can turn off borders etc so that it is not obvious that it is a table - but it gives you complete control over placement.
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top