Solved

Add serial number in table - Word 2007

Posted on 2013-01-08
2
1,932 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

749 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