[Urgent] Print Repeatedly Character at End of Paragraphs

Discussion in 'Word VBA Beginners' started by rifkyzulfikar92@gmail.com, May 9, 2013.

  1. Guest

    need help from all of you guys..

    i want to print (-) repeatedly at the end of my paragraph until it reach the end of line
    so it just looks like :

    Name : John ----------------------------
    Birthday : May, 05 1994 ----------------
    this is some example of paragraph ------

    if John changed with other name, the result is :

    Name : Rob Stewart ---------------------

    what should I do to do that ?

    sorry for my very bad english....
    , May 9, 2013
    1. Advertisements

  2. Word does not have a line object the way it does for words,
    paragraphs, sections, etc.

    If you select the first word in the paragraph, you can then extend the
    selection to the end of the line. If the last character in the
    selection is the paragraph mark, there might be room for another -.
    Add it before the paragraph mark and test again. Once the paragraph
    mark is not on the line, delete one - and your line should now be
    Barry Schwarz, May 9, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.