waterdog15
New Member
- Joined
- Dec 27, 2009
- Messages
- 15
How do I retrieve text from a word document that is alway is a specific place or after a certain string? Someone else created a series of word documents that all start like this:
Date: _________ Name: _________
Reason: __________ Zone: _________
and so on. These documents originally were meant to be printed and then hand written, so it is not any type of table or form but all of the documents have the same layout. We eventually went high tech and started typing in the information in the word document. So what I am attempting to do is retreive the data from the Name "field", the Reason "field" and the Zone "field".
I am thinking I could have Excel open the document, then look for the text "Name:" and then return the next 25 characters. Then do the same for "Reason:" and then "Zone:". I can open the documents but do not know how to do this.
So my question is, is excel capable of searching a document for a string and then returning the next 25 characters?
Thanks for any suggestions
Date: _________ Name: _________
Reason: __________ Zone: _________
and so on. These documents originally were meant to be printed and then hand written, so it is not any type of table or form but all of the documents have the same layout. We eventually went high tech and started typing in the information in the word document. So what I am attempting to do is retreive the data from the Name "field", the Reason "field" and the Zone "field".
I am thinking I could have Excel open the document, then look for the text "Name:" and then return the next 25 characters. Then do the same for "Reason:" and then "Zone:". I can open the documents but do not know how to do this.
So my question is, is excel capable of searching a document for a string and then returning the next 25 characters?
Thanks for any suggestions
Last edited: