Question

Locked

autofill word doc with data from .txt using VBA

By birling ·
Hi Guys, I have managed to use examples of code from here to help me setup a document template, but my understanding of VBA is still limited.
I now want to extract a particular set of data, in this case a row of address details from a .txt file based on the 'customer line number' entered by the user. ie Text file:
Line1,add1,add2,add3
Line2,add1,add2,add3

User inputs Line1 and the data is then to go into the word doc, where I have set some bookmarks.

Is the .txt format the best option or is it easier to have the data in say excel?
Hope this is clear enough and you can provide me some code or suggestions.
many thanks, B

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums