+ Reply to Thread
Results 1 to 2 of 2

Look into a directory for a zip, delete, and repeat until directory is empty.

  1. #1
    Registered User
    Join Date
    10-08-2008
    Location
    Boston
    Posts
    3

    Look into a directory for a zip, delete, and repeat until directory is empty.

    Hi All,


    I have programmed a Module [linked to a button on the worksheet] that has the user manually select a .zip file, and analyzes the contents and subsequently deletes the original zipped file. The user would conduct this exercise until all zip files in one folder are empty.

    What I don't know how to do is have it look in that folder as a default for any zip file; and sequentially conduct the module on each, until the folder is empty (it would become empty because the module deletes each one-by-one).

    So the ultimate result is by pressing that button, the analysis on all files is done in the background.

    Would anyone mind helping? I'm very limited in VB; This is my first project using it :-(.


    -MG

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Post the code that you have so far, remember to use Code Tags
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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. Delete sheet warning - Excel 2007
    By ec41hw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2008, 03:10 PM

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