Paragraph Numbering

J

Julia

Good morning to all the numbering experts:

I need to modify my heading styles to include numbering - easy enough. I
need some text before the number which is;

Special Interrogatory No.: 1

and then

Response to Special Interrogatory No.: 1

How do I do this? the text goes outside the limit. THanks!
 
J

Joseph N.

Response to Special Interrogatory No.: 1

How do I do this? the text goes outside the limit.

Hopefully someone who knows more will have a complex but effective
answer for you, but, in the meanwhile, if your jurisdiction would
allow it Word 2002 could fit:

Response to Special Interr. 1:

instead of:

Response to Special Interrogatory no. 1:
 
D

Doug Robbins

Insert a SEQ field where you want the number to appear and then select the
heading and create and autotext entry from it. Then whenever you want to
insert a heading, insert the autotext and the numbers will take care of
themselves.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
J

Joseph N.

Insert a SEQ field where you want the number to appear and then
select the heading and create and autotext entry from it.

Doug, that's a brilliant solution. I'll use it often.
 
J

Julie

Julia

Simply for the sake of interest, I tried setting up your Number Format
programmatically in Word 2K and Word XP and speculate that the string length
limitation is a limitation of the user interface, not the list template
property for number format.

Once all other properties of the scheme were set up (in Word XP through the
user interface, in Word 2K programmatically), I ran the following macro to
set the number formats to your liking).

Sub Special()
Dim olt As ListTemplate
Set olt = ActiveDocument.Styles("Heading 1").ListTemplate

With olt
.ListLevels(1).NumberFormat = "Special Interrogatory No. %1"
.ListLevels(2).NumberFormat = "Response to Special Interrogatory No. %2"
End With

Set olt = Nothing

End Sub


and it seems to work. If you subsequently attempt to edit the number format
through the Word interface, Word will truncate the number format to the
maximum number of characters allowed through the user interface, and you
would have to run the macro again to correct that. I did not take it one
step further - that is, work with the document for any length time, so
feasibility of this method would require more testing to ensure that nothing
goes sideways as a result of editing the document and subsequent editing to
the styles.

Hope this helps,

Regards,
Julie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top