+ Reply to Thread
Results 1 to 6 of 6

Export file names to excel

  1. #1
    Registered User
    Join Date
    07-07-2009
    Location
    Orange County, California
    MS-Off Ver
    Microsoft 365; Excel 2010
    Posts
    40

    Arrow Export file names to excel

    i would like to export the sub-directory file names to excel.
    many thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Export file names to excel

    do you think you could explain that a bit more?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    07-07-2009
    Location
    Orange County, California
    MS-Off Ver
    Microsoft 365; Excel 2010
    Posts
    40

    Re: Export file names to excel

    i have a sub-directory, ie, d:\my document
    there is about 50+ files in this directory and i would like to export the file name (only the name of the file) to the excel file.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Export file names to excel

    http://excelexperts.com/VBA-Tips-List-Files-In-A-Folder
    has a sheet that will do it for you change the path to suit then delete any unnecessary info
    scroll to Download sheet to practise how to List Files In A Folder in Excel or use this link
    http://excelexperts.com/sites/defaul...n-a-folder.xls

  5. #5
    Registered User
    Join Date
    07-07-2009
    Location
    Orange County, California
    MS-Off Ver
    Microsoft 365; Excel 2010
    Posts
    40

    Re: Export file names to excel

    thank you and it solved.. un able to find the "solved" things. always stumble to find it!

  6. #6
    Registered User
    Join Date
    04-21-2013
    Location
    Sofia, Bulgaria
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Export file names to excel

    Quote Originally Posted by integra View Post
    i would like to export the sub-directory file names to excel.
    many thanks
    Try that, it will take you 2 sec:
    File Names Export

+ 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