Zip with the default Windows XP zip program

Hi all

On my site I have code to zip/unzip with WinZip, but many people asked me if it is not possible
to do the same with the default Windows XP zip program.
Finally I found a way with VBA to zip with the default Windows XP zip program.

I add this page to my site with a few examples.
http://www.rondebruin.nl/windowsxpzip.htm

Have fun with it

Regards Ron de Bruin
http://www.rondebruin.nl

6 Comments

  1. XL-Dennis says:

    Nice work Ron!

    Kind regards,
    Dennis

  2. ross says:

    Nice! that gone straight in the code lib, thats Ron!

  3. Ron de Bruin says:

    Hi all

    I update the site with a new macro that create the empty zip file, this code suggestion is from keepITcool.
    And I add Wait code in the second and third sub

  4. Jim Dionne says:

    I am using this code in an Outlook program and so far it works great(thanks). Is there a parameter or additional code that will let me check the datetimestamp of the items in the zip file. I want to make sure that I don’t replace a newer file when I execute the .CopyHere code. Thanks

  5. Ron de Bruin says:

    Hi Jim

    With normal folders this is no problem but with
    a zip folder it is different.

    I will check it out this weekend (bed time for me now).
    I want to update the page also with new code soon

Leave a Reply