nishant
03-08-2006, 11:03 PM
Hi Killian can u give me the code for creating a Table in word document and putting data in it. I do not want to use macro I am using word from different application. In reply to my last query u gave me the code to create a word document. ur reply was like this and it worked fine , thanks:hi:
"" If you have not set a reference (late-binding), they will need to be Objects
VBA:
Dim appWd As Object Dim docSource As Object ' create a new instance of WordSet appWd = CreateObject("Word.Application") ' etc...
I want similar code for creating table in word doc and adding data to it.
Please help me out.:(
"" If you have not set a reference (late-binding), they will need to be Objects
VBA:
Dim appWd As Object Dim docSource As Object ' create a new instance of WordSet appWd = CreateObject("Word.Application") ' etc...
I want similar code for creating table in word doc and adding data to it.
Please help me out.:(