Re: Determining Para. Level and Formatted Number
From: Jim Dahlstrom (anonymous_at_discussions.microsoft.com)
Date: 02/24/04
- Next message: Summer: "How can I add a @ in the dropdown form field"
- Previous message: Neil: "Re: Multiple Documents"
- In reply to: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Next in thread: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Reply: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 08:23:56 -0800
Steve,
Thanks again.
(OK - I'm starting to be a pain...!!)
Your response sounds like it is my solution. I have spent
the morning trying to translate it to code, but am afraid
that I am too much of a novice to do so.
Can you try one more time with a code example?
Scenario - One word selected in the second sequential
level 4 outlined numbered paragraph under the level 3
outlined numbered paragraph, 2.1.2 -- need to identify and
return the formatted paragraph number, i.e. 2.1.2.2
Thanks for your patience and help.
Jim
>-----Original Message-----
>G'day "Jim Dahlstrom" <jdahl@atlantic.net>,
>
>The list template properties that are attached to the
list paragraph.
>I normally name all LTs then crossmatch from the .para
stuff to the
>activedocument.littemplates stuff. The LT.ListLevel(n)
then has ALL
>the juicy info.
>
>
>Steve Hudson - Word Heretic
>Want a hyperlinked index? S/W R&D? See WordHeretic.com
>
>steve from wordheretic.com (Email replies require payment)
>
>
>Jim Dahlstrom reckoned:
>
>>Steve,
>>
>>Thanks for the response.
>>
>>I need to go one step further though. your response
>>provided the springboard to return the outline level
>>number using -
>>
>>Selection.Range.ListFormat.ListLevelNumber
>>
>>I have been using this type of line to return the
outline
>>formatted paragraph number, i.e. a selection in the
third
>>sequential Level 4 para. under para. 1.1.2 should return
>>1.1.2.3, but not quite finding the right code.
>>
>>What am I missing??
>>
>>Jim
>>>-----Original Message-----
>>>G'day "Jim D." <jdahl@atlantic.net>,
>>>
>>>ActiveDocument.Paragraphs
>>(1).Range.ListFormat.ListLevelNumber
>>>
>>>Steve Hudson - Word Heretic
>>>Want a hyperlinked index? S/W R&D? See WordHeretic.com
>>>
>>>steve from wordheretic.com (Email replies require
payment)
>>>
>>>
>>>Jim D. reckoned:
>>>
>>>>Hi. Thanks to all that answer.
>>>>
>>>>Once a macro has found and selected text in an outline
>>>>numbered document (which I can do) I need to determine
>>the
>>>>outline number for the para. A complicating factor is
>>>>that below the fouth level the scheme is tied
>>to "Restart
>>>>numbering after" the next higher level but changes the
>>>>numbering pattern.
>>>>
>>>>Para numbering being used:
>>>>Level 1 = 1.0, Level 2 = 1.1, Level 3 = 1.1.1 Level 4
=
>>>>1.1.1.1, Level 5 = A., Level 6 = 1. and Level 7 = a.
>>>>
>>>>If the selection is below the fourth level I need to
>>build
>>>>the para. path number, e.g. 3.2.4.1 A. 3. c.
>>>>
>>>>Please help.
>>>>
>>>>Thanks,
>>>>Jim D.
>>>
>>>.
>>>
>
>.
>
- Next message: Summer: "How can I add a @ in the dropdown form field"
- Previous message: Neil: "Re: Multiple Documents"
- In reply to: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Next in thread: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Reply: Word Heretic: "Re: Determining Para. Level and Formatted Number"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|