LISTNUM formatting problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a field that will number a list using the format: URS-001,
URS-002, etc. I used the formula: {LISTNUM "sequence 1" \# 000}. It works
until I get to 10, which comes out as URS-0010, but needs to be URS-010. How
do I achieve this?
 
Frankly I can't get Listnum to produce anything like what you have - however
{ SEQ "SEQUENCE 1" \# "URS'-'000" }
should work.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks, however it produces the same result when it gets to multiple digit
numbers (i.e., URS-0010, etc.).
 
It works correctly here. I can see no reason why it shouldn't work. What
does { =10 \# "000" } produce for you?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I'm sorry. I didn't notice that you switched the field type to SEQ.
Interestingly enough, when I employ SEQ as you stated in your first example,
{ SEQ "SEQUENCE 1" \# "URS'-'000" } it displays URS-001. When inserted a
second time however, the result remains URS-001 instead of advancing to
URS-002.

I entered your most recent suggestion { =10 \# "000" }. When I use it with
LISTNUM, I get (1), which advances. When I use it with SEQ, I get errors.

Also, sometimes Word automatically inserts \* MERGEFORMAT, which doesn't
seem to do anything good.

Any thoughts? Am I misinterpreting what you're saying? Does the field
definition have anything to do with the style employed at the time?
 
There are a few misconceptions here.

I could not get ListNum to produce anything like what you wanted, but a SEQ
field will, hence the change (I did mention this earlier).. You will need to
update the fields to show the correct numbers - for this purpose you may
find the macro at http://www.gmayor.com/installing_macro.htm useful as it
will update all fields at a click.

{ =10 \# "000" } is a formula field. CTRL+F9 for the brackets then type the
rest. It is nothing to do with list numbers or SEQ fields, but simply to see
what happens to the switch. It should show 010. If it doesn't we are
struggling a bit :(

Word inserts \*Mergeformat by default if you insert fields from the insert >
field dialog and do not uncheck the 'preserve formatting' check box in that
dialog.

It is usually quicker to manually enter the fields from the keyboard using
CTRL+F9 for each pair of brackets {}


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks. It seems to be working now. I also got the formula you provided to
produce the same results as you got. I thought I did the SEQ formula the same
as you did, but now at least, it's working. Thanks for the macro, too.
 

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

Similar Threads

Nonbreaking Space and ListNum 1
LISTNUM Question 5
LISTNUM 1
LISTNUM 1
LISTNUM with tab positions 3
LISTNUM 1
Word Labels Listnum 1
Using ListNum fields with different levels 1

Back
Top