Hello,
I 'm trying to write a code about finding and openning a file(excel or word document) in a directory by searching its string . For ex. the code will open a file of which name consists of "project". Can you help me?
Printable View
Hello,
I 'm trying to write a code about finding and openning a file(excel or word document) in a directory by searching its string . For ex. the code will open a file of which name consists of "project". Can you help me?
Do you want to open it and manipulate the data in your app or do you want to open the file in word/excel?
Hi,Quote:
Originally posted by manavo11
Do you want to open it and manipulate the data in your app or do you want to open the file in word/excel?
Yes, what I only want to find the file of which name matches the key words(string) and open it in excel or word. (Not taking datas from them). Thanks for your interest...
Here :
http://www.vbforums.com/showthread.p...hreadid=244915
you can see how to find all the files in a folder. From there you can compare and find if a file matches your keywords :)