J
Jesper F
I'm trying to create a table in word with vba from access.
I'm using late binding.
This creates a table:
Set myRange = objWord.ActiveDocument.Range(Start:=0,
End:=0)
objWord.ActiveDocument.Tables.Add Range:=myRange,
NumRows:=3, NumColumns:=4
but I'd like to place at a bookmark called "start" in the
document and also be able to dynamically add cells while
looping a recordset.
Does anyone have a small sample of code showing the
principle of placing the table and dynamically adding to
it? I should be able to figure it out then.
Thanks for any help.
I'm using late binding.
This creates a table:
Set myRange = objWord.ActiveDocument.Range(Start:=0,
End:=0)
objWord.ActiveDocument.Tables.Add Range:=myRange,
NumRows:=3, NumColumns:=4
but I'd like to place at a bookmark called "start" in the
document and also be able to dynamically add cells while
looping a recordset.
Does anyone have a small sample of code showing the
principle of placing the table and dynamically adding to
it? I should be able to figure it out then.
Thanks for any help.