#1
|
|||
|
|||
Problem Coding End of Page
Everyone,
I'm having trouble writing a macro that will automatically position the text ("Continued...") on the very last line of page. My problem is coding the variable distance between the preceding text and "Continued." I don't have trouble coding the letters or words, only reliably positioning. I prefer to avoid page breaks and footers because they waste too much space at the bottom of a page. When I try to create a looping carriage return, to position the cursor on the last line of a page, I invariably create an infinite loop. I've unsuccessfully tried creating code that would calculate the number of lines needed to move "Continued..." from a higher position on the page to the last line. Any suggestions? Thank you |
#2
|
||||
|
||||
What you're trying to achieve, though possible, isn't practical. As soon as you open the document on another computer (especially one with an earlier Word version) or even on the same computer and change the active printer, the layout is liable to change and you could find your ("Continued...") line moving up, so it's no longer the last line, or even moving to the top of the next page.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting page layout problem in Word 2010 - top of page cut off | paik1002 | Word | 2 | 01-21-2016 03:59 AM |
If else statement-Need help with coding | rsrasc | Excel Programming | 4 | 10-30-2015 01:10 AM |
UserForm VBA coding | Niclasfa | Word VBA | 1 | 04-08-2015 10:23 PM |
What kind of coding? | ep2002 | Excel | 3 | 07-22-2014 07:52 AM |
2 page document printing problem, text from page 1 in layout of page 2 when printed | laurawether45 | Word | 1 | 08-02-2012 07:03 AM |