+ Reply to Thread
Results 1 to 2 of 2

Check folder if empty from subfolders before deleting the empty folder

  1. #1
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 365 Subscription
    Posts
    353

    Check folder if empty from subfolders before deleting the empty folder

    I am using a folder structure like this

    F:\Root Folder\Category\AlphabetFolder\Music Folders

    I am moving Music Folder out of the AlphabetFolder with a vba code and needs a code to check whether the AlphabetFolder is empty and then delete the AlphabetFolder, only when I moved the last music folder

    The code should only check for 1 level subfolders under the AlphabetFolder and not check for files. There is a lot of codes checking for files.

    Can anybody help.
    Last edited by CobraLAD; 04-20-2013 at 09:41 AM.

  2. #2
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 365 Subscription
    Posts
    353

    Re: Check folder if empty from subfolders before deleting the empty folder

    Please Login or Register  to view this content.
    works

    http://www.ozgrid.com/forum/showthread.php?t=56261

+ 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