Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    May 2003
    Location
    San Diego, California, USA
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Numbered List - Capitalize (Word2000)

    I am trying to setup either a macro or style to create a numbered list in which the 1st character of each line is capitalized.

    e.g.

    1. Hello
    2. Woody

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

    Re: Numbered List - Capitalize (Word2000)

    Unfortunately, Word 2000 (and up) doesn't apply the "Capitalize firs tletter of sentences" AutoCorrect option in numbered lists - see Word does not capitalize the first letter of a sentence.

    I would apply the numbered list style (or formatting) of your choice, then select the numbered items and run the following macro:

    Sub Capitalize()
    Dim rng As Range
    Dim par As Paragraph
    Set rng = Selection.Range.Duplicate
    For Each par In rng.Paragraphs
    par.Range.Characters(1) = UCase(par.Range.Characters(1))
    Next par
    ' Optional: reselect original selection
    rng.Select
    End Sub

    The macro deliberately doesn't apply numbering to the selection, for that would limit its usefulness - you'd be stuck with one type/level of numbering.

  3. #3
    Lounger
    Join Date
    May 2003
    Location
    San Diego, California, USA
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Numbered List - Capitalize (Word2000)

    Thanks!

    I was trying to get around the problem capitalizing the 1st letter.

    <A target="_blank" HREF="http://support.microsoft.com/?kbid=291538">
    <hr>Quote:

    Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.<hr>
    </A>

Posting Permissions

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