Results 1 to 4 of 4
  1. #1
    eladz949 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    9

    search for folder and return full path

    hello everybody

    I am a novice and i have tried to search the forum and the internet for 2 days and i cant seem to get it to work.

    I want a code to search for a folder, by its name, which name contains a string i have, for example the folder name is aaab1234, and i have 1234, the numbers are unique so it will return only one folder, and what i want is its full path.

    can anyone help me please?



    Thanks in advance,
    Elad

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    And where do you want to search? The entire computer, all drives, or the shared netword server?

    Google: VBA search folders

    Review http://www.ammara.com/access_image_f...er_search.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    eladz949 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    9
    hello june7

    thanks for your response

    i want to search a certain folder and its sub directories.
    i have read a lot and tried to play with vba search options but my problem is that the name of the folder
    is unknown, all i know that it contains ID number which is unique, and i cant find a way to search for a part of a folder name.

    Thanks a lot in advance,
    Elad

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Google: VBA find folder partial name

    Review: http://windowssecrets.com/forums/sho...(VBA-Word-2000)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-25-2012, 07:36 AM
  2. Check path in another form and create folder
    By anandram in forum Programming
    Replies: 6
    Last Post: 05-02-2011, 12:23 PM
  3. Replies: 5
    Last Post: 02-09-2011, 11:22 AM
  4. Search records and return message.
    By sYn in forum Programming
    Replies: 4
    Last Post: 01-07-2011, 11:21 PM
  5. Replies: 1
    Last Post: 03-28-2007, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums