Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub test()
Dim r As Row, i As Integer
With ThisDocument.Tables(1)
For Each r In .Rows
For i = 1 To .Columns.Count
r.Cells(i).Range.Text = i
Next
Next
End With
End Sub
Bong said:the cells collection?
Like thisdocument.tables(1).cells?
Dim oTable As Table
Dim oField As Field
Set oTable = ActiveDocument.Tables(1)
For Each oField in oTable.Range.Fields
' do what ever it is you are doing
Next
Dim oTable As Table
Dim oFF As Formfield
Set oTable = ActiveDocument.Tables(1)
For Each oFF in oTable.Range.Formfields
' do what ever it is you are doing
Next