W
Warrio
Hi,
I createad an Unbound Object Frame and I put in it a Microsoft Word
document. I'm trying to switch document everytime I click on a button but
nothing is working .... Can someone tell how can I do that, please ?
The code :
Private Sub changeDoc_Click()
docWord.SourceDoc = "c:\test2.doc"
docWord.SourceItem = ""
docWord.OLETypeAllowed = acOLELinked
docWord.Action = AcOLEUpdate
End Sub
Thanks
I createad an Unbound Object Frame and I put in it a Microsoft Word
document. I'm trying to switch document everytime I click on a button but
nothing is working .... Can someone tell how can I do that, please ?
The code :
Private Sub changeDoc_Click()
docWord.SourceDoc = "c:\test2.doc"
docWord.SourceItem = ""
docWord.OLETypeAllowed = acOLELinked
docWord.Action = AcOLEUpdate
End Sub
Thanks