+ Reply to Thread
Results 1 to 6 of 6

Macro to generate list of files in a hard drive with hyperlinks

  1. #1
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Question Macro to generate list of files in a hard drive with hyperlinks

    Dear Friends,

    I would like to generate a list of files and its related hyperlinks as mentioned in below example:

    1. Macro should popup for selection of path (a hard drive) - for which a list of files and hyperlinks to be generated.
    2. Analyze number of & name of Folders
    3. Create separate sheet for each folder in the root path mentioned (but not for its sub-folders).
    4. Generate list of files (file name (colA) / Foldername (entire sub-folder path) (ColB) / Filesize (ColC) / Modified date (ColD)

    Illustration:
    i) A popup to choose a drive (ex: D drive);
    ii) after selection of drive, sheets should be created in the names of folders in that specified drive
    (like in D drive: Folders are: AA, BB, CC, DD, EE)
    iii) Now sheets are created in the names of AA, BB, CC, DD, EE.
    iv) Create list of files (in that specific folder and its sub-folders (ex: AA & its sub folders) - as mentioned above point 4.

    Is it possible to create a macro to solve the above purpose? Sample file attached for your kind ref.

    Please....

    With regards.
    Attached Files Attached Files
    Last edited by acsishere; 07-26-2012 at 02:53 PM. Reason: Attached a sample workbook
    Good friends are hard to find, harder to leave, and impossible to forget.

    acsishere.

  2. #2
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to generate list of files in a hard drive with hyperlinks

    Dear Friends,

    I attached a sample workbook.

    Please give me a solution. Thanks.

  3. #3
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to generate list of files in a hard drive with hyperlinks

    Dear Friends,

    Any help? Please....

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro to generate list of files in a hard drive with hyperlinks

    you can start from this
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to generate list of files in a hard drive with hyperlinks

    Dear Patel,

    Thanks for starting in a right direction.

    This should be improved with:

    1) Sheets to be created in the name of root folders
    2) list of files to be created for all folders including its sub-folders with hyperlinks

    Any further try? please....

  6. #6
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to generate list of files in a hard drive with hyperlinks

    Dear Friends,

    I hope someone will give solution for the query.

+ 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