Getting text from MS Word
Visual Basic
4
Posts
2
Posters
0
Views
1
Watching
-
Is it possible to get the text from a Word document (using the Word object library in VB6) and store that text into a string variable? If so, how do you do it?
-
Are you doing this in VB6 or VB.NET? If the latter, this article on DevX may help. Export Customized XML from Microsoft Word with VB.NET
-
In that case, try this article in Devx: Open, Close, Edit, Find/Replace and Print Word Documents in VB6 After the word document is opened in the WordXChangeCtrl OpenDocument function, the document text is exposed in Doc.Content.Text. (I found this Devx article by searching in Google for "vb6 word document".)