+ Reply to Thread
Results 1 to 5 of 5

list of subfolders in folder - without files and sub-subfolders

  1. #1
    Registered User
    Join Date
    11-11-2004
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016 for Windows 10
    Posts
    19

    list of subfolders in folder - without files and sub-subfolders

    Hi everbody,

    sorry I readed many posts here, but I didn't find what I need

    I would need code which write only subfolders of selected folder into cells. So not files, not the second level subfolders.

    Could anybody help me?

    Thanks Martin
    Last edited by MartyZ; 08-16-2012 at 04:34 AM.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,517

    Re: list of subfolders in folder - without files and sub-subfolders

    Will this work for you?

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    11-11-2004
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016 for Windows 10
    Posts
    19

    Re: list of subfolders in folder - without files and sub-subfolders

    Hello Mike,

    it works fine, thanks!

    Martin

  4. #4
    Registered User
    Join Date
    06-11-2022
    Location
    new york
    MS-Off Ver
    Microsoft Office 2019
    Posts
    6

    Re: list of subfolders in folder - without files and sub-subfolders

    Quote Originally Posted by mike7952 View Post
    Will this work for you?

    Please Login or Register  to view this content.
    Thanks mate it's helpful

  5. #5
    Valued Forum Contributor
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    519

    Re: list of subfolders in folder - without files and sub-subfolders

    In this case you don't need a lot of variables.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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