ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Winzip - Shell Execute (https://www.excelbanter.com/excel-programming/304426-winzip-shell-execute.html)

FastOneBaz[_4_]

Winzip - Shell Execute
 
Hi

Anyone have any tips about calling winzip from VBA?

I can open the winzip interface using :

Dim RetVal
RetVal = Shell("C:\Program Files\WinZip\WINZIP32.EXE", vbNormalFocus)

But I don't know what arguments to use to control which file get
zipped and where it goes.

Can I do this?
All help appreciated, cheer

--
Message posted from http://www.ExcelForum.com


Ron de Bruin

Winzip - Shell Execute
 
Hi FastOneBaz

I have some code on this page
http://www.rondebruin.nl/zip.htm

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


"FastOneBaz " wrote in message ...
Hi

Anyone have any tips about calling winzip from VBA?

I can open the winzip interface using :

Dim RetVal
RetVal = Shell("C:\Program Files\WinZip\WINZIP32.EXE", vbNormalFocus)

But I don't know what arguments to use to control which file gets
zipped and where it goes.

Can I do this?
All help appreciated, cheers


---
Message posted from http://www.ExcelForum.com/




FastOneBaz[_5_]

Winzip - Shell Execute
 
thanks for the code, ideal

--
Message posted from http://www.ExcelForum.com


Ron de Bruin

Winzip - Shell Execute
 
You are welcome

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


"FastOneBaz " wrote in message ...
thanks for the code, ideal.


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 10:46 AM.

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