Hi
How do i open an existing word documnet from VB .
Now i am using the code something like this
Dim word1 As Application
Dim d As Word.Document
Set word1 = GetObject("Word.Application"
Set d = word1.Documents.Add("C:\My.doc"
word1.Application.Visible = True
But its giving problem in the second line.
Do anybody know any other method of opening
an existing help..
Expecting an early reply..
How do i open an existing word documnet from VB .
Now i am using the code something like this
Dim word1 As Application
Dim d As Word.Document
Set word1 = GetObject("Word.Application"
Set d = word1.Documents.Add("C:\My.doc"
word1.Application.Visible = True
But its giving problem in the second line.
Do anybody know any other method of opening
an existing help..
Expecting an early reply..