![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi!
I have a file that comes to me daily in outlook called "ACT Daily.zip" and what I need to do is extract the file (extracts as an excel file) delete and clean up some of the data and then save two of the five tabs into a folder overwriting yesterday's file. The files are saved as text. I have the code to delete and clean up the data and save it as a text. What I need is the code to find the current "ACT Daily.zip" file and extract it and open the excel file. Any help. |
Ads |
#2
|
|||
|
|||
![]() You might google for any library that is able to extract files from the zip. I'm sure there's freeware available. If you have the xls extracted, you may open it with the objects exposed by Excel. Add a reference to Excel to your project, open the object browser (f2), switch from All libraries to Excel, and see what's available. For opening a workbook see the Workbooks.Open function. -- Best regards Michael Bauer - MVP Outlook : VBOffice Reporter for Data Analysis & Reporting : Outlook Categories? Category Manager Is Your Tool: : http://www.vboffice.net/product.html?pub=6&lang=en Am Tue, 1 Jul 2008 06:59:00 -0700 schrieb Schwimms: Hi! I have a file that comes to me daily in outlook called "ACT Daily.zip" and what I need to do is extract the file (extracts as an excel file) delete and clean up some of the data and then save two of the five tabs into a folder overwriting yesterday's file. The files are saved as text. I have the code to delete and clean up the data and save it as a text. What I need is the code to find the current "ACT Daily.zip" file and extract it and open the excel file. Any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do i show only daily tasks when printing daily calendar? | dkellogg | Outlook - Calandaring | 5 | March 16th 08 09:43 PM |
Save email to text file daily | research_stuff | Outlook and VBA | 1 | June 1st 07 05:41 AM |
Daily View | Gery Abay | Outlook - Calandaring | 3 | December 18th 06 04:55 AM |
Want to save all of my daily activities in another type of file | lincanniff | Outlook - Calandaring | 1 | November 16th 06 03:16 AM |
Daily Style | Michael B | Outlook - Calandaring | 3 | February 11th 06 02:49 AM |