Solved

Add serial number in table - Word 2007

Posted on 2013-01-08
2
1,916 Views
Last Modified: 2013-01-08
Hello there,

I have created a table with 3 cols and i want to add serial number counter in the first col.how can i do it.i am using word 2007
0
Comment
Question by:zolf
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 250 total points
ID: 38754192
You could try selecting the first column and making a numbered list with the Numbering button in the Paragraph group on the Home tab.

Or you could use some VBA code like this:
    Dim tbl As Table
    Dim r As Integer
    
    Set tbl = ActiveDocument.Tables(1)
    For r = 1 To tbl.Rows.Count
        tbl.Cell(1, 1).Range.Text = r
    Next r

Open in new window

0
 
LVL 59

Assisted Solution

by:Chris Bottomley
Chris Bottomley earned 250 total points
ID: 38754280
If it's a 'new' table then add a paragraph number to the first column and each time you add a row the number will update accordingly?

Chris
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question