Group:  Microsoft Word ยป microsoft.public.word.tables
Thread: Automatic numbering in column

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Automatic numbering in column
Slow Learner 14.07.2006 18:53:01
I want to have numbering appear automatically in a column. My numbering is
like 06-01 then 06-02, 06-03 etc. Can anyone assist in how I set this up.
TIA
Re: Automatic numbering in column
"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> 14.07.2006 22:15:02
Please provide more detail about where the 06 comes from. The rest is
simple.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
news:4E9728AA-E836-470A-A4FD-461E833FB32D[ at ]microsoft.com...
[Quoted Text]
> I want to have numbering appear automatically in a column. My numbering
is
> like 06-01 then 06-02, 06-03 etc. Can anyone assist in how I set this up.
> TIA

Re: Automatic numbering in column
Slow Learner 18.07.2006 16:02:01
Hi Suzanne
The 06 represents the current year. Next year the numbering will start at
07-0001 etc.
TFHIA


"Suzanne S. Barnhill" wrote:

[Quoted Text]
> Please provide more detail about where the 06 comes from. The rest is
> simple.
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> Word MVP FAQ site: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
> all may benefit.
>
> "Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
> news:4E9728AA-E836-470A-A4FD-461E833FB32D[ at ]microsoft.com...
> > I want to have numbering appear automatically in a column. My numbering
> is
> > like 06-01 then 06-02, 06-03 etc. Can anyone assist in how I set this up.
> > TIA
>
>
Re: Automatic numbering in column
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 18.07.2006 19:25:21
Use the following code in a macro to insert numbers such as that in the
cells in the first column of the table in which the selection is located:

Dim i As Long
With Selection.Tables(1)
For i = 1 To .Rows.Count
.Cell(i, 1).Range.Text = "06-" & Format(i, "00#")
Next i
End With

If you don't want a number in the first row, use

Dim i As Long
With Selection.Tables(1)
For i = 2 To .Rows.Count
.Cell(i, 1).Range.Text = "06-" & Format(i - 1, "00#")
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
news:817C3946-61D0-48E8-B384-90CA0180EE0F[ at ]microsoft.com...
[Quoted Text]
> Hi Suzanne
> The 06 represents the current year. Next year the numbering will start at
> 07-0001 etc.
> TFHIA
>
>
> "Suzanne S. Barnhill" wrote:
>
>> Please provide more detail about where the 06 comes from. The rest is
>> simple.
>>
>> --
>> Suzanne S. Barnhill
>> Microsoft MVP (Word)
>> Words into Type
>> Fairhope, Alabama USA
>> Word MVP FAQ site: http://word.mvps.org
>> Email cannot be acknowledged; please post all follow-ups to the newsgroup
>> so
>> all may benefit.
>>
>> "Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
>> news:4E9728AA-E836-470A-A4FD-461E833FB32D[ at ]microsoft.com...
>> > I want to have numbering appear automatically in a column. My
>> > numbering
>> is
>> > like 06-01 then 06-02, 06-03 etc. Can anyone assist in how I set this
>> > up.
>> > TIA
>>
>>


Re: Automatic numbering in column
"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> 18.07.2006 22:03:06
Assuming that you want the numbering to be 06-01, 06-02, ... 06-10, 06-11,
.... 06-99, 06-100, you create a numbered style (or apply numbering to the
existing style) as follows:

1. Format | Style [your style] | Modify | Format: Numbering.

2. Choose 01, 02, 03 as the "Number style" and type in 06- in front of the
number field in the "Number format" box. OK.

3. Apply the style to the column in question.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
news:817C3946-61D0-48E8-B384-90CA0180EE0F[ at ]microsoft.com...
[Quoted Text]
> Hi Suzanne
> The 06 represents the current year. Next year the numbering will start at
> 07-0001 etc.
> TFHIA
>
>
> "Suzanne S. Barnhill" wrote:
>
> > Please provide more detail about where the 06 comes from. The rest is
> > simple.
> >
> > --
> > Suzanne S. Barnhill
> > Microsoft MVP (Word)
> > Words into Type
> > Fairhope, Alabama USA
> > Word MVP FAQ site: http://word.mvps.org
> > Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
> > all may benefit.
> >
> > "Slow Learner" <SlowLearner[ at ]discussions.microsoft.com> wrote in message
> > news:4E9728AA-E836-470A-A4FD-461E833FB32D[ at ]microsoft.com...
> > > I want to have numbering appear automatically in a column. My
numbering
> > is
> > > like 06-01 then 06-02, 06-03 etc. Can anyone assist in how I set this
up.
> > > TIA
> >
> >

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net