A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Extrating Daily File



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 1st 08, 02:59 PM posted to microsoft.public.outlook.program_vba
Schwimms
external usenet poster
 
Posts: 1
Default Extrating Daily File

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  
Old July 2nd 08, 05:22 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Extrating Daily File



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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.