C
christophercbrewster via OfficeKB.com
[This is a "sequel" to my previous question but is a separate problem.]
When a table cell is selected, I need to do the equivalent of Paragraph >
Format on the cell, but can't make it work. My best try follows. The loop
needs to format the second cell in each row.
With ActiveDocument.Tables(1)
For i = 1 To .Rows.Count
.Rows(i).Cells(2).Range.ParagraphFormat.FirstLineIndent =
InchesToPoints(0)
Next i
End With
Suggestions appreciated.
--
Christopher Brewster
Lockheed Martin, Eagan MN
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/ms-word-general/200911/1
When a table cell is selected, I need to do the equivalent of Paragraph >
Format on the cell, but can't make it work. My best try follows. The loop
needs to format the second cell in each row.
With ActiveDocument.Tables(1)
For i = 1 To .Rows.Count
.Rows(i).Cells(2).Range.ParagraphFormat.FirstLineIndent =
InchesToPoints(0)
Next i
End With
Suggestions appreciated.
--
Christopher Brewster
Lockheed Martin, Eagan MN
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/ms-word-general/200911/1