+ Reply to Thread
Results 1 to 4 of 4

How to Extract .zip files stored in a folder using VBA

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    359

    How to Extract .zip files stored in a folder using VBA

    Hi all,

    Could anyone kindly help me with a VBA code which could extract all the .zip files stored in a local folder say D:\test and then delete the .zip files after extracting? I have the following files in the folder.

    cm20SEP2010bhav.csv.zip
    fo18SEP2009bhav.csv.zip
    eq180909_csv.zip
    SCBSEALL1809.zip


    Regards,

    Zaska

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: How to Extract .zip files stored in a folder using VBA

    One Way:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-20-2012
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    359

    Re: How to Extract .zip files stored in a folder using VBA

    Thank you very much ..This code saved me lot of time.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to Extract .zip files stored in a folder using VBA

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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