+ Reply to Thread
Results 1 to 4 of 4

Unzip .gz file with VBA

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Unzip .gz file with VBA

    Hello, I am trying to unzip a .gz file with Excel VBA, but the methods posted from Bruin are not working:

    http://www.rondebruin.nl/win/s7/win002.htm

    Can somebody please help me?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,261

    Re: Unzip .gz file with VBA

    Hi chrisignm

    did you try to rename your ".gz" file to ".zip" and run the code again?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: Unzip .gz file with VBA

    Hello! Thanks for this good tip.

    Anyway, I download the file also with excel, so i just save it as a .zip

  4. #4
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: Unzip .gz file with VBA

    If you have a lot of gz files to unzip you could run a macro to rename the file extensions from .gz to .zip before running your unzip macro
    *******************************************************

    HELP WANTED! (Links to Forum threads)
    Trying to create reusable code for Custom Events at Workbook (not Application) level

    *******************************************************

+ 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. Unzip protected file using VBA
    By msherifam01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2013, 09:00 AM
  2. zip unzip .xlsx file error
    By IT Researcher in forum Excel General
    Replies: 2
    Last Post: 05-30-2013, 08:35 AM
  3. Need macro to Zip/Unzip
    By Vinoth Kanna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 03:41 AM
  4. [SOLVED] Unzip file through VBA
    By amitdi in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-15-2012, 09:36 PM
  5. unzip
    By aaabc0555 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2006, 04:45 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