Results 1 to 5 of 5
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Option or VBA Code (MS-Word 97 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    Is there an option to have a sequential number placed in the left most margin of a document so that when you are typing and you hit the ENNTER/RETURN key, or use up a line, a number is placed at the left of the line.

    Something like

    1 Hello Loungers

    2 This is an example of what I would like to see happen in my document.
    3 Notice these numbers on the left.

    4 If there is no option in MS-Word, how will the VBA code access the area outside the normal 8.5x11 so that these numbers will print, but they will not take any of
    5 the valuable space on the page?

    Thanks for any advice. Oh this would be line 6 <img src=/S/duck.gif border=0 alt=duck width=23 height=23>

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Putnam Valley, New York, USA
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Option or VBA Code (MS-Word 97 and >)

    File, Page Setup, Layout tab, Line Numbers... Should do the trick.

  3. #3
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Option or VBA Code (MS-Word 97 and >)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> Eowyn

    I checked that option out, but it adds the line numbers even to empty lines. I would prefer that it only counted lines with text on them.

    Any of the options make it do this? If there are no options, then this is close enough.

    Thanks again.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  4. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,803
    Thanks
    4
    Thanked 235 Times in 217 Posts

    Re: Option or VBA Code (MS-Word 97 and >)

    If there are numbers appearing against empty lines then they are still lines which should be numbered because they are not truly empty - they must contain a return or a soft return or some other invisible characters..

    If you don't want numbering on 'empty lines' then use paragraph spacing instead of double returns to space your paragraphs apart.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

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

    Re: Option or VBA Code (MS-Word 97 and >)

    You can suppress line numbers for specific paragraphs or for specific styles: tick "Suppress line numbers" in the "Line and Page Breaks" tab of Format | Paragraph...

    But, as Andrew wrote, it's best not to use empty paragraphs - use paragraph spacing instead.

Posting Permissions

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