View Single Post
  #1   Report Post  
Posted to microsoft.public.word.newusers
christophercbrewster via OfficeKB.com christophercbrewster via OfficeKB.com is offline
external usenet poster
 
Posts: 68
Default Changing paragraph format in table cell

[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.FirstLineI ndent =
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.a...neral/200911/1