Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
line numbering with tables
I have a document that needs to have the lines numbered every tenth line.
The document is part plain text and part tables. Word's auto line numbering by default does not number lines in tables and therefore my line numbering in the document is not correct. Is there a way around this so that the line numbering will also number the tables or would I have to do this manually? thanks, |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
line numbering with tables
You would have to do the numbering manually. Anchor a text box to the
header, drag it into the left (or right) margin and type in the numbers. For text lines and numbers to line up, you will have to use an exact value for line spacing in the document. -- Stefan Blom Microsoft Word MVP "Jules" wrote in message ... I have a document that needs to have the lines numbered every tenth line. The document is part plain text and part tables. Word's auto line numbering by default does not number lines in tables and therefore my line numbering in the document is not correct. Is there a way around this so that the line numbering will also number the tables or would I have to do this manually? thanks, |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
line numbering with tables
I thought I would have to do it manually - thanks for your time.
"Stefan Blom" wrote: You would have to do the numbering manually. Anchor a text box to the header, drag it into the left (or right) margin and type in the numbers. For text lines and numbers to line up, you will have to use an exact value for line spacing in the document. -- Stefan Blom Microsoft Word MVP "Jules" wrote in message ... I have a document that needs to have the lines numbered every tenth line. The document is part plain text and part tables. Word's auto line numbering by default does not number lines in tables and therefore my line numbering in the document is not correct. Is there a way around this so that the line numbering will also number the tables or would I have to do this manually? thanks, |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
line numbering with tables
Hi Jules
This Macro code should achieve what you want. The assumption is that you have an empty column at the left hand side of your table. There is probably a much cleaner way of writing the VBA code but I am not a programmer I just like playing with VBA Macros. Sub RowNumbering() ' ' RowNumbering Macro ' Macro recorded 02/07/2008 by Tony King ' Dim Counter Dim Rows Selection.GoTo What:=wdGoToTable, Which:=wdGoToFirst, Count:=1, Name:="" Rows = Selection.Information(wdMaximumNumberOfRows) Counter = Rows / 10 For Count = 1 To Rows / 10 Selection.TypeText Text:=Count Selection.MoveDown Unit:=wdLine, Count:=Count + 9 Next Count MsgBox ("Completed Row Numbering") Selection.HomeKey Unit:=wdStory End Sub Hope this helps. -- TonyK "Jules" wrote: I thought I would have to do it manually - thanks for your time. "Stefan Blom" wrote: You would have to do the numbering manually. Anchor a text box to the header, drag it into the left (or right) margin and type in the numbers. For text lines and numbers to line up, you will have to use an exact value for line spacing in the document. -- Stefan Blom Microsoft Word MVP "Jules" wrote in message ... I have a document that needs to have the lines numbered every tenth line. The document is part plain text and part tables. Word's auto line numbering by default does not number lines in tables and therefore my line numbering in the document is not correct. Is there a way around this so that the line numbering will also number the tables or would I have to do this manually? thanks, |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Line Numbering in Word 2003 tables | Tables | |||
Line numbering by 5s pages 1-15, then discontinue line numbering 1 | Microsoft Word Help | |||
Is it possible to set line numbering to include tables? | Page Layout | |||
Line Numbering in Tables | Tables | |||
How do I add line numbering to tables | Tables |