Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winzipping A File in VBA Code

Status
Not open for further replies.

GummowN

Programmer
Jul 26, 2002
157
GB
I am full of tough challenges this week

I have already written code that checks the size of an export file, and if it is over a certain size runs winzip. But I am unsure on how to create a new winzip file, add in the export file and then close winzip (last one I know can be done with a sendkeys "%{f4}".

All help is welcome.
 
Winzip has a command line interface that you can download. You can then use a simple shell statement to generate the zip file that you need.

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top