+ Reply to Thread
Results 1 to 3 of 3

Getting a list of folders and subfolders but not subsubfolders

  1. #1
    Registered User
    Join Date
    02-02-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    2

    Getting a list of folders and subfolders but not subsubfolders

    How to modify this code so that it only displays the property of subfolders but not subsubfolders? I am absolutely new to programming and have no idea on how to fix it. Any help will make my day 100 times better!Thank you.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 02-02-2015 at 03:48 PM. Reason: Added Code Tags

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Getting a list of folders and subfolders but not subsubfolders

    I'm assuming you added the TimeTest parameter for this purpose, since it's not used for anything. If that's correct, have your initial call of the subroutine pass it a value of 1. Then revise your recursive call to be:
    Please Login or Register  to view this content.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    02-02-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    2

    Re: Getting a list of folders and subfolders but not subsubfolders

    Thanks a lot. I finally was able to fix it.

+ 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. Macro to list a specific type of file searching in folders and subfolders
    By vamu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2014, 09:31 AM
  2. csv import from Folder with several subfolders and subsubfolders
    By Guesty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2013, 07:13 AM
  3. Macro to list folders and contents within it Including subfolders.
    By pekunda in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2012, 08:17 AM
  4. [SOLVED] Map/List of folders, subfolders & files
    By Bogdan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2006, 01:10 PM
  5. Creating folders and subfolders from excel file list
    By afaubert in forum Excel General
    Replies: 4
    Last Post: 11-08-2005, 07:50 PM

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