Opening a text file from a zip file

pete6982

New Member
Joined
Aug 7, 2006
Messages
19
I have to verify several reports for about 40 different regions. generally I do this by manually unzipping a few txt files for each region and then putting certain feilds in a spreadsheet to check them. I made a macro that does all this except i still have to manually unzip the files. Is there a way to access the files in vba? I don't want to unzip the entire file because it is about 2 gigs and I only need to verify a few small txt files. Anyone have a way to do this?

say the file I want is "Calc Worksheet.csv" which is zipped in "Q:\Chicago\CHI1207RUN" where "CHI1207RUN" is the zipped up file/folder.

thx in advance for any help.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,214,657
Messages
6,120,769
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top