Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Winzip - Shell Execute

thanks for the code, ideal

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling WinZip from Excel ShaneJ \(Australia\) Excel Programming 3 June 1st 04 05:40 AM
WinZip barrylevin Excel Programming 3 April 8th 04 12:23 AM
winzip in macro Michael Excel Programming 5 February 25th 04 03:28 PM
Open WinZip from Excel Jeff Armstrong Excel Programming 1 October 28th 03 09:45 PM
WinZip extract Keith[_7_] Excel Programming 11 October 17th 03 03:22 PM


All times are GMT +1. The time now is 03:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"