PC Review


Reply
Thread Tools Rate Thread

Create multi-report package

 
 
SusanV
Guest
Posts: n/a
 
      25th Feb 2005
Requirement for weekly project status is to send 3 different reports as
snapshot files via email. I got this mostly automated using a macro to
create the 3 reports in the proper folder on the server. Works fine except
the users have to manually zip the 3 snp files, rename the file (both name
and extension) then email it to a half dozen people. Last week someone
forgot to rename the file extension and so the attachment was stripped by
one of the remote office's antivirus. This week someone was left out of the
To: line and didn't get their copy (and of course this was a high
mucky-muck).

So now management has asked if I can automate the entire process - click a
button and poof here's the email ready to hit send. Well... at this point, I
think I can do *most* of it. I know how to use SendObject to populate the
subject, attach the file, set addresses etc.

What I can't seem to manage is creating the zip file and then renaming it.
I'm sure I could write an old fashioned batch file using pkzip to do this
via RunApp but I really want to learn how to get this step via code so that
I can get rid of the macro altogether, and not have extraneous cmd or bat
files floating around...

Every day I learn stuff here and it seems I'll never know half!

Thanks in advance,

SusanV


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Create a multi page report ME Microsoft Dot NET Framework 2 23rd Jan 2006 06:58 AM
Can't Create a multi page report ME Microsoft ASP .NET 2 23rd Jan 2006 06:58 AM
Can't Create a multi page report ME Microsoft Dot NET 2 23rd Jan 2006 06:58 AM
How to create multi pages invoice report Vensia Microsoft Access Reports 8 4th Jan 2006 01:46 AM
Link that executes a package and create an entry into a text/log/report file Carlos Microsoft Frontpage 1 3rd Sep 2004 11:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:34 AM.