Results 1 to 8 of 8
  1. #1
    4 Star Lounger
    Join Date
    Oct 2002
    Location
    Sayre, Pennsylvania, USA
    Posts
    504
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Line Numbering (2003)

    Hi,
    I have 2 questions that pertain to adding line numbers to a document. The first one is, how can I control the font size of line numbers? The second one is can I add line numbers to both sides of the document?
    Thanks,
    Deb

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

    Re: Line Numbering (2003)

    1) Modify the Line Number character style (in the Styles and Formatting task pane).

    2) The built-in line numbering is always on the left hand side of the page (if you use a left-to-right script).

  3. #3
    New Lounger
    Join Date
    Dec 2006
    Location
    Alberta
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Line Numbering (2003)

    We have a number of large cases where the documents where imported with the line numbering on the right hand side. Easy way to move to the left? (Numbering is up to 3 digits and some lines won't have numbering.)

    Thanks
    Snowflake <img src=/S/confused3.gif border=0 alt=confused3 width=45 height=45>

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

    Re: Line Numbering (2003)

    Could you attach a small sample document with numbering on the right hand side? You can replace the text with dummy text, if necessary.

  5. #5
    New Lounger
    Join Date
    Dec 2006
    Location
    Alberta
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Line Numbering (2003)

    Here's a sample. Thanking in advance.
    Attached Files Attached Files

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

    Re: Line Numbering (2003)

    I'm sorry, a text file is no help. We need to see an actual Word document (with dummy text).

  7. #7
    New Lounger
    Join Date
    Dec 2006
    Location
    Alberta
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Line Numbering (2003)

    All I can do is convert the text file to Word as the documentation is developed in a program called Summation and converted from there. If that's what you want, I can do that, but you can easily do it yourself as well.

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

    Re: Line Numbering (2003)

    Since you asked this question in the Word forum, I assumed that you were talking about a Word document.

    You should really get Summation to produce a workable document. As it is now, it is an absolute horror to work with in Word. For what it's worth, the following macro will copy the numbering to the left hand side, but the document will still be unusable, if not more so.

    Sub SwitchNumbering()
    Dim par As Paragraph
    Dim strLine As String
    Dim strNum As String
    Dim arr() As String
    For Each par In ActiveDocument.Paragraphs
    If Len(par.Range) = 81 Then
    strLine = Left(par.Range, 79)
    arr = Split(strLine, " ")
    strNum = arr(UBound(arr))
    strLine = strNum & Mid(strLine, Len(strNum) + 1)
    par.Range.Text = strLine & vbCr
    End If
    Next par
    End Sub

    Since the document is unformatted, there is little point in changing the font size of the numbering.

Posting Permissions

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