+ Reply to Thread
Results 1 to 8 of 8

Creating an index in Excel from the windows directory structure for specific folders

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    Leicester England
    MS-Off Ver
    2007
    Posts
    5

    Creating an index in Excel from the windows directory structure for specific folders

    Creating an index in Excel from the windows directory structure for specific folders and sub folders

    I keep the picture archive for our Historical Society and would like to create an index in an Excel spreadsheet.

    Is it possible to automate the indexing process by collecting the information directly from the window directory and populating the required fields?
    I have attached an example of what I would like the finished article to look like
    Can anyone help me please as I have no programming skills at all.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Creating an index in Excel from the windows directory structure for specific folders

    I'm not sur if I follow you. You can get the street/road and village easily enough; but where are the other items listed?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Creating an index in Excel from the windows directory structure for specific folders

    You could loop through a set of folders and populate the links to the directories, however the other information doesn't look like the sort of information that you could retrieve

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Creating an index in Excel from the windows directory structure for specific folders

    Hi,

    please see the file attached.

    This will help you get all the Excel files paths from a Folder & its subFolders..

    Once we have this, we can get the data from each file..
    Attached Files Attached Files
    Cheers!
    Deep Dave

  5. #5
    Registered User
    Join Date
    07-24-2015
    Location
    Leicester England
    MS-Off Ver
    2007
    Posts
    5

    Re: Creating an index in Excel from the windows directory structure for specific folders

    Sorry Dave but I could not download or open this file.

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Creating an index in Excel from the windows directory structure for specific folders

    Not sure why that is the case. I can download it aswell as open it from my computer aswell as 1 more computer

  7. #7
    Registered User
    Join Date
    07-24-2015
    Location
    Leicester England
    MS-Off Ver
    2007
    Posts
    5

    Re: Creating an index in Excel from the windows directory structure for specific folders

    Hi Glenn
    Thanks for the answer. I have tried to download and open the file but it will not open.
    The reference is the file name the other items I agree cannot be download.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Creating an index in Excel from the windows directory structure for specific folders

    Hi. I think, having seen some of the other contributions, that I've misread your request. But anyhow... in C4
    =TRIM(MID(SUBSTITUTE("/"&$B4,"/",REPT(" ",125)),125*COLUMNS($A:F),125)) drag down.

    In D4 =TRIM(MID(SUBSTITUTE("/"&$B4,"/",REPT(" ",125)),125*COLUMNS($A:E),125)) drag down

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating a Pyramid Hierarchy structure from a flat structure
    By thegamerulez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 01:28 AM
  2. [SOLVED] How to open all excel files within a directory of folders.
    By randomguy1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2013, 01:55 AM
  3. Moving Files from one directory structure to another directory
    By harddd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2013, 02:39 PM
  4. Replies: 0
    Last Post: 07-13-2012, 10:51 PM
  5. Replies: 1
    Last Post: 08-07-2008, 02:11 PM
  6. Can anyone help me Create Excel list of files in windows folders
    By solrac1956 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-28-2005, 07:10 PM
  7. Slow opening directory structure in Excel 2002
    By Nyte in forum Excel General
    Replies: 0
    Last Post: 08-04-2005, 11:44 AM
  8. Create Folders in Directory with Excel VBA?
    By Jrew23 in forum Excel General
    Replies: 4
    Last Post: 06-15-2005, 11:05 PM

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