Results 1 to 4 of 4

Thread: filename

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Location
    Manisa/Turkey
    Posts
    2

    filename

    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?

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Do you want to open it and manipulate the data in your app or do you want to open the file in word/excel?


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Location
    Manisa/Turkey
    Posts
    2
    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?
    Hi,

    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...

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    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


    Has someone helped you? Then you can Rate their helpful post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width