Office Automation- open word document
Hi All
I am using this code to open word document from access but when you close word document, it ask you save as templete and i found it create process on task manager
I am not sure is this correct way to open and view documnet
here's code
Dim wd As Word.Application
Set wd = New Word.Application
wd.Documents.Open (r!FDestination)
'wd.Application.Documents.Open fileName:=r!Destination,ReadOnly:=True
'wd.Documents.Open r!FDestination, ReadOnly:=True
wd.Application.Visible = True
Set wd = Nothing
Thanks
Ayaz
|