volabos
01-03-2008, 10:39 PM
Hi all, I would like to tell the story of my problem, if anyone have a look on it and, help me out, I will be really grateful.
I have a word file with 5 pages (currently of course). It is divided in two sections. 1st section is from page 1-3 and next section is on page 4-5. For the first section, page 1 and 2 are completely filled and 3rd page is half filled. Now I want to do following :
If I want to add more sentences (anywhere in first section) in first section, as long as end of this section keeps remaining in page 3, start of the second section would be at the beginning of page 4. as soon as first section crosses page 3 (ie come to page 4), start of the second section should directly jump to page 5. i.e. now second section would start at line-1 of page 5 and end at page 6. and so on.
Definitely I can do it manually, by pressing lot of ENTERS before the beginning of second section so that all the time, second section starts from line-1 of a fresh page. However this is very cumbersome for a long document. Therefore I want to automate this process. Is there any VBA code or anything else for that?
Hope I could explain my problem efficiently. However if anyone need more clarification please let me know.
Thanks and Regards,
:think:
I have a word file with 5 pages (currently of course). It is divided in two sections. 1st section is from page 1-3 and next section is on page 4-5. For the first section, page 1 and 2 are completely filled and 3rd page is half filled. Now I want to do following :
If I want to add more sentences (anywhere in first section) in first section, as long as end of this section keeps remaining in page 3, start of the second section would be at the beginning of page 4. as soon as first section crosses page 3 (ie come to page 4), start of the second section should directly jump to page 5. i.e. now second section would start at line-1 of page 5 and end at page 6. and so on.
Definitely I can do it manually, by pressing lot of ENTERS before the beginning of second section so that all the time, second section starts from line-1 of a fresh page. However this is very cumbersome for a long document. Therefore I want to automate this process. Is there any VBA code or anything else for that?
Hope I could explain my problem efficiently. However if anyone need more clarification please let me know.
Thanks and Regards,
:think: