H
hals_left
I have some code (below) that creates table rows and writes data from a
database, and symbols to the new cells.
I have a small image that needs to go into each row too, If I have the
image in the first row is there anyway to put it into each new row
created ?
Thanks
hals_left
ActiveDocument.Tables(3).Rows.Add
With ActiveDocument.Tables(3).Rows(ActiveDocument.Tables(3).Rows.Count
- 1)
.Cells(1).Select
Selection.Text = objRS("ID")
.Cells(2).Select
Selection.Text = objRS("Name")
If objRS("Selected") = "1" Then
.Cells(3).Select
Selection.End = Selection.End - 1
Selection.InsertSymbol Font:="Wingdings",
CharacterNumber:=-3844, Unicode:=True
End If
' How to do this part ?
.Cells(4).Select
Selection.Contents = Copy a gif image from another table cell or
import it from file ?
database, and symbols to the new cells.
I have a small image that needs to go into each row too, If I have the
image in the first row is there anyway to put it into each new row
created ?
Thanks
hals_left
ActiveDocument.Tables(3).Rows.Add
With ActiveDocument.Tables(3).Rows(ActiveDocument.Tables(3).Rows.Count
- 1)
.Cells(1).Select
Selection.Text = objRS("ID")
.Cells(2).Select
Selection.Text = objRS("Name")
If objRS("Selected") = "1" Then
.Cells(3).Select
Selection.End = Selection.End - 1
Selection.InsertSymbol Font:="Wingdings",
CharacterNumber:=-3844, Unicode:=True
End If
' How to do this part ?
.Cells(4).Select
Selection.Contents = Copy a gif image from another table cell or
import it from file ?