G
Guest
I have a table with embedded word documents in one field. I am trying to
loop through the table and insert these word documents into a word document I
created with automation.
I create the new word doc like this
On Error Resume Next
Set WordMaster = GetObject(, "Word.Application")
If Err.Number <> 0 Then
Set WordMaster = CreateObject("Word.Application")
End If
WordMaster.Visible = True
WordMaster.documents.Add
WordMaster.Selection.typetext "hello world!"
- the hello world is inserted fine.
if I open a record set of the table, how would I reference the embedded
document and add it to the new word document?
Thanks for any help.
loop through the table and insert these word documents into a word document I
created with automation.
I create the new word doc like this
On Error Resume Next
Set WordMaster = GetObject(, "Word.Application")
If Err.Number <> 0 Then
Set WordMaster = CreateObject("Word.Application")
End If
WordMaster.Visible = True
WordMaster.documents.Add
WordMaster.Selection.typetext "hello world!"
- the hello world is inserted fine.
if I open a record set of the table, how would I reference the embedded
document and add it to the new word document?
Thanks for any help.