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

Position Text At Vertical Position

Status
Not open for further replies.

RH610

Programmer
Aug 7, 2001
152
US
Is there a way (in VBA code) to position text at an exact vertical position? Here is the situation. I will be entering text starting from some point near the top of the page. The amount of text will be variable every time I run the code. Thus the text will end at various points on the page. I the want to put a different piece of text starting exactly at the 9 inch mark on the page. I just don't know how to get the cursor to the 9" point on the page.

Thank You
 
Hi RH610,

As far as I know there is no way to precisely position text vertically on the page. What you can do is to use tables.

Create a single celled table (without borders) at the top of your page, sized and positioned (exactly where will depend on your page headers) so that the first line of text below it is 9" down. Then enter your beginning text in that cell and your later text outside it. There are other variations on the theme but that should get you started.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top