Results 1 to 6 of 6
  1. #1
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Insert blank lines at Addendum (Word 2000 >)

    Hi All,

    I need help with code to loop through lines of text in a long word doc. And insert a space (blank line) above the line starting with the word Addendum. (IE. To create a new paragraph!) Any help is appreciated. Tx
    EG: Document
    Regards,
    Rudi

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Insert blank lines at Addendum (Word 2000 >)

    Why not create an Addendum style with the appropriate Space Before in its paragraph settings? You can then set all pararagraphs containing Addendum to this style, either manually (using Edit | Replace) or in code. Using paragraph spacing is generally neater than using blank lines.

  3. #3
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Insert blank lines at Addendum (Word 2000 >)

    That sounds like a good idea. I'll try it out when I get home tonight.
    I'll let you know if it worked out well!! <img src=/S/thumbup.gif border=0 alt=thumbup width=15 height=15>
    Regards,
    Rudi

  4. #4
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Insert blank lines at Addendum (Word 2000 >)

    Hans,
    It worked like a blast....what good advice was that not!

    Tx again.

    PS: I attached a doc for others to see a working example!
    Attached Files Attached Files
    Regards,
    Rudi

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Insert blank lines at Addendum (Word 2000 >)

    Hi Rudi:
    Took a look at your document & have an additional suggestion. You might want to modify the style to inlcude "Keep with next" (under Modify/Format/Paragraph) so that it doesn't hang by itself at the bottom of any page.
    Cheers,

  6. #6
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Insert blank lines at Addendum (Word 2000 >)

    Tx Phil. There was not too much of a hassle on the original, but your suggestion is certainly valid.
    Thanx for the extra input!
    Regards,
    Rudi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •