ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Code to compress files in XP (https://www.excelbanter.com/excel-programming/293531-code-compress-files-xp.html)

Lawlera

Code to compress files in XP
 
Hi

I would like some code to compress (through Windows XP) an unopen excel file and then copy the compressed file to the a:\ drive

Thanks in advance.

Frank Kabel

Code to compress files in XP
 
Hi
do you want to do this within Excel?. I would suggest susing a
different tool (OS scheduler, etc.). But if you want to use Excel you
may goto the WINZIP homepage. They have a command line extension which
you may call with the Shell Command from Excel

--
Regards
Frank Kabel
Frankfurt, Germany

Lawlera wrote:
Hi,

I would like some code to compress (through Windows XP) an unopen
excel file and then copy the compressed file to the a:\ drive.

Thanks in advance.



Lawlera

Code to compress files in XP
 
Sorry Frank, should have said - yes I do want to do this from within excel

Thanks for the advice.

Frank Kabel

Code to compress files in XP
 
Hi
you may have a look at the following thread for some example code
http://tinyurl.com/3yfwf

--
Regards
Frank Kabel
Frankfurt, Germany

Lawlera wrote:
Sorry Frank, should have said - yes I do want to do this from within
excel.

Thanks for the advice.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com