ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RUNNING WINZIP32 FROM EXCEL (https://www.excelbanter.com/excel-programming/327536-running-winzip32-excel.html)

Mike215

RUNNING WINZIP32 FROM EXCEL
 
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike

Chip Pearson

RUNNING WINZIP32 FROM EXCEL
 
As far as I know, WinZip doesn't support any type of automation
beyond startup switches in the command line. Open WinZip's help
file and look for "command line" or "startup switches" or
something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike




Harald Staff

RUNNING WINZIP32 FROM EXCEL
 
Hi Mike

See
http://www.planet-source-code.com/vb...=4678&lngWId=1

and the explanation at
http://www.planet-source-code.com/vb...=4696&lngWId=1

HTH. Best wishes Harald

"Mike215" skrev i melding
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike




Ron de Bruin

RUNNING WINZIP32 FROM EXCEL
 
Hi Chip and Mike

I have example code on my site

http://www.rondebruin.nl/zip.htm
And
http://www.rondebruin.nl/unzip.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chip Pearson" wrote in message ...
As far as I know, WinZip doesn't support any type of automation beyond startup switches in the command line. Open WinZip's help
file and look for "command line" or "startup switches" or something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message ...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike






PCLIVE

RUNNING WINZIP32 FROM EXCEL
 
Ron,

I've tried using the the example on your website, but it seems to get stuck
at "ShellAndWait". It gives me a 'Compile error...Sub or Function not
defined'.

Do you have any insight on this?

Thanks,
Paul

"Ron de Bruin" wrote in message
...
Hi Chip and Mike

I have example code on my site

http://www.rondebruin.nl/zip.htm
And
http://www.rondebruin.nl/unzip.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chip Pearson" wrote in message
...
As far as I know, WinZip doesn't support any type of automation beyond
startup switches in the command line. Open WinZip's help file and look
for "command line" or "startup switches" or something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike








Dave Peterson[_5_]

RUNNING WINZIP32 FROM EXCEL
 
At the bottom of the zip.htm page, there's code that must be included in your
project.

Did you take a copy?

PCLIVE wrote:

Ron,

I've tried using the the example on your website, but it seems to get stuck
at "ShellAndWait". It gives me a 'Compile error...Sub or Function not
defined'.

Do you have any insight on this?

Thanks,
Paul

"Ron de Bruin" wrote in message
...
Hi Chip and Mike

I have example code on my site

http://www.rondebruin.nl/zip.htm
And
http://www.rondebruin.nl/unzip.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chip Pearson" wrote in message
...
As far as I know, WinZip doesn't support any type of automation beyond
startup switches in the command line. Open WinZip's help file and look
for "command line" or "startup switches" or something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike





--

Dave Peterson

PCLIVE

RUNNING WINZIP32 FROM EXCEL
 
Thanks Dave,

I missed that part. I guess I should have read through the whole thing.
It works now.

Thanks again.
Paul

"Dave Peterson" wrote in message
...
At the bottom of the zip.htm page, there's code that must be included in
your
project.

Did you take a copy?

PCLIVE wrote:

Ron,

I've tried using the the example on your website, but it seems to get
stuck
at "ShellAndWait". It gives me a 'Compile error...Sub or Function not
defined'.

Do you have any insight on this?

Thanks,
Paul

"Ron de Bruin" wrote in message
...
Hi Chip and Mike

I have example code on my site

http://www.rondebruin.nl/zip.htm
And
http://www.rondebruin.nl/unzip.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chip Pearson" wrote in message
...
As far as I know, WinZip doesn't support any type of automation beyond
startup switches in the command line. Open WinZip's help file and look
for "command line" or "startup switches" or something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike





--

Dave Peterson




Ron de Bruin

RUNNING WINZIP32 FROM EXCEL
 
Hi PCLIVE

I missed that part. I guess I should have read through the whole thing.


Glad you got it working
My SendMail add -in for Outlook have this option also

--
Regards Ron de Bruin
http://www.rondebruin.nl



"PCLIVE" wrote in message ...
Thanks Dave,

I missed that part. I guess I should have read through the whole thing.
It works now.

Thanks again.
Paul

"Dave Peterson" wrote in message ...
At the bottom of the zip.htm page, there's code that must be included in your
project.

Did you take a copy?

PCLIVE wrote:

Ron,

I've tried using the the example on your website, but it seems to get stuck
at "ShellAndWait". It gives me a 'Compile error...Sub or Function not
defined'.

Do you have any insight on this?

Thanks,
Paul

"Ron de Bruin" wrote in message
...
Hi Chip and Mike

I have example code on my site

http://www.rondebruin.nl/zip.htm
And
http://www.rondebruin.nl/unzip.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chip Pearson" wrote in message
...
As far as I know, WinZip doesn't support any type of automation beyond
startup switches in the command line. Open WinZip's help file and look
for "command line" or "startup switches" or something similar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike215" wrote in message
...
Hi
and thanks in advance

I need to zip up all the files in 50 plus directories. I
can open WINZIP32 but how do I pass it parameters?
TID = SHELL("WINZIP32.EXE",1) gets the program up and
running but it doesn't do anything. How do I tell it what
to zip?

Mike





--

Dave Peterson







All times are GMT +1. The time now is 08:04 AM.

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