+ Reply to Thread
Results 1 to 5 of 5

search directory for excel-files and put A136 from tab "1"-"20" in a table

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    3

    search directory for excel-files and put A136 from tab "1"-"20" in a table

    hello,

    I'm searching for an excel-file that searches in a directory and subdirectorys after other excel-files. These excel-files are likewise so on every file i found the tabs "1" until "20". From these tabs i need the content of cell A4, A7 and A8. Together with other information like, directory+subdirectory and filename it must come together in a table so that i have an overview of everything in the directory.
    Can anyone help me, thx.

    Wim

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: search directory for excel-files and put A136 from tab "1"-"20" in a table

    Maybe a sample excel file will explain how you want the output to be shown. Also, how many levels of sub-directories will there be?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-30-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: search directory for excel-files and put A136 from tab "1"-"20" in a table

    In attachment i have a little example of the thread. I hope you understand it,thx.
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: search directory for excel-files and put A136 from tab "1"-"20" in a table

    Is this the only subfolder from where the data should be consolidated?

    F:\AANKOOP\Budget\Budget ELEKTRO\2. ELEKTRO

    Are there chances that there will be files in this folder - F:\AANKOOP\Budget\Budget ELEKTRO\ or this folder - F:\AANKOOP\Budget\?

  5. #5
    Registered User
    Join Date
    05-30-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: search directory for excel-files and put A136 from tab "1"-"20" in a table

    F:\AANKOOP\Budget\Budget ELEKTRO\2. ELEKTRO is the directory, there you can find all the excel-files from this year and then i have:

    F:\AANKOOP\Budget\Budget ELEKTRO\2. ELEKTRO\Archief\2009
    F:\AANKOOP\Budget\Budget ELEKTRO\2. ELEKTRO\Archief\2010
    F:\AANKOOP\Budget\Budget ELEKTRO\2. ELEKTRO\Archief\2011
    as subdirectorys to search in.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1