I have a directory which have a few word documents (.doc) files. I want to get each one from that directory and put them into a list so I can open them. How do I loop through to get them and once I get them how do I open them.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This will list all the word documents in a directory:
And then just a quick way to open the word documents: