I have a text file that the first row is the filed name that separated with comma and from second row there are data fields that separated by comma too.
I want to read this file record by record and make a report by it's data in microsoft word!!
I have read just the first row of data by using of
For Each aField In ActiveDocument.MailMerge.DataSource.FieldNames
now I want to read all records of text file it possible?How?
Could you please help me?
My OS is win xp sp2 and I use of Microsoft Office 2003.and I use of Microsoft Visual Basic Editor from Ms Word.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: