• Line Numbering (2003)

    Author
    Topic
    #440585

    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

    Viewing 0 reply threads
    Author
    Replies
    • #1055874

      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).

      • #1062357

        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 confused3

        • #1062413

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

          • #1062700

            Here’s a sample. Thanking in advance.

            • #1062704

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

            • #1062983

              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.

            • #1062989

              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.

    Viewing 0 reply threads
    Reply To: Line Numbering (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: