I've successfully view microsoft words documents using the web browser which i have named it "wbview" and the source code is:
wbview.navigate "C:\My Document\temp\test.doc"
The actual problem is that when i try to open up the same document again for searching and replacement of words in Microsoft words, an error msg always pops out saying "test.doc is lock for editing". And all i could do is to click on "read only" button and the Visual Basic will then continue to execute the searching and replacement of words.
please solve my doubts. Is there anyway like i could close off the words after i've viewed it in the browser? I tried using:
with wordsapp
.documents("C:\My Document\temp\test.doc"
.activate
.......
.......
end with
and the error msg was "bad file name"
Could anyone of you please help me??? it is really very urgent. Thanks a million.
And also, I didn't know I was to post a question here and i have accidentally posted a question in "FAQ" could anyone help mi delete it away. I'm kinda green using this webbie. Thankz once again.
With regards,
Jason
wbview.navigate "C:\My Document\temp\test.doc"
The actual problem is that when i try to open up the same document again for searching and replacement of words in Microsoft words, an error msg always pops out saying "test.doc is lock for editing". And all i could do is to click on "read only" button and the Visual Basic will then continue to execute the searching and replacement of words.
please solve my doubts. Is there anyway like i could close off the words after i've viewed it in the browser? I tried using:
with wordsapp
.documents("C:\My Document\temp\test.doc"

.......
.......
end with
and the error msg was "bad file name"
Could anyone of you please help me??? it is really very urgent. Thanks a million.
And also, I didn't know I was to post a question here and i have accidentally posted a question in "FAQ" could anyone help mi delete it away. I'm kinda green using this webbie. Thankz once again.
With regards,
Jason