Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Joyce
 
Posts: n/a
Default LISTNUM formatting problem

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?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default LISTNUM formatting problem

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Joyce
 
Posts: n/a
Default LISTNUM formatting problem

Thanks, however it produces the same result when it gets to multiple digit
numbers (i.e., URS-0010, etc.).

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default LISTNUM formatting problem

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
Word MVP web site http://word.mvps.org


Joyce wrote:
Thanks, however it produces the same result when it gets to multiple
digit numbers (i.e., URS-0010, etc.).

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Joyce
 
Posts: n/a
Default LISTNUM formatting problem

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?

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
Thanks, however it produces the same result when it gets to multiple
digit numbers (i.e., URS-0010, etc.).

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?






  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default LISTNUM formatting problem

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
Thanks, however it produces the same result when it gets to multiple
digit numbers (i.e., URS-0010, etc.).

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?




  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Joyce
 
Posts: n/a
Default LISTNUM formatting problem

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.

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
Thanks, however it produces the same result when it gets to multiple
digit numbers (i.e., URS-0010, etc.).

"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


Joyce wrote:
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?





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi vs. Single Column Formatting Problem Earl Microsoft Word Help 1 December 9th 05 06:40 PM
Formatting Listnum field rgille Microsoft Word Help 1 August 10th 05 09:36 AM
Indexing a document:Possible formatting problem Dave Neve Microsoft Word Help 9 March 23rd 05 09:54 PM
Print layout formatting problem raghu Page Layout 3 March 23rd 05 09:15 AM
Problem formatting Wordpad (and often Word) Chad Harris New Users 1 December 27th 04 10:03 PM


All times are GMT +1. The time now is 04:30 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"