here is all I have so far
How can put text in a particular cell?
Say Row 1, Col 1 is the word "Sample #"
under that are some dates like
1829-001
1829-002
1829-003
and make the top row background color light gray
DougP, MCP, A+
I Built my own R2D2
I love this site and all you folks that helped me over the years!
Code:
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=2, NumColumns:= _
9, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = True
.ApplyStyleFirstColumn = True
.ApplyStyleLastColumn = True
End With
How can put text in a particular cell?
Say Row 1, Col 1 is the word "Sample #"
under that are some dates like
1829-001
1829-002
1829-003
and make the top row background color light gray
DougP, MCP, A+
![[r2d2] [r2d2] [r2d2]](/data/assets/smilies/r2d2.gif)
I love this site and all you folks that helped me over the years!