+ Reply to Thread
Results 1 to 2 of 2

Check if Directory is Empty and Provide Message

  1. #1
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Check if Directory is Empty and Provide Message

    I have adapted a wonderful bit of code to fulfil the renaming of my files however, when it runs it crashes if a the directory has nothing in it. Can some one advise/adapt the code to identify the directory is empty, display a message informing me that it is and go back to the browser.

    Thanks

    Please Login or Register  to view this content.
    Last edited by Tellm; 01-30-2013 at 06:17 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Check if Directory is Empty and Provide Message

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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