Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default run winzip in excel macro

Hi there ,

I need to run winzip to unzip files in office xp macro .

My winzip command is
"c:\program files\winzip\winzip32.exe" -min -e "c:\mydir\a1.zip"
"c:\mydir\a1.zip.1"

I can run this command directly from command line,but when I run the macro,
using shell to run winzip ,vba keeps telling me "winzip parameter validation
error"

Can anybody help me ? What is the problem there ?

any messages from you will be appreciated.

thanks in advance .




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default run winzip in excel macro

Maybe you could compare the way Ron de Bruin does it:
http://www.rondebruin.nl/tips.htm

(Look for Zip)

pamela wrote:

Hi there ,

I need to run winzip to unzip files in office xp macro .

My winzip command is
"c:\program files\winzip\winzip32.exe" -min -e "c:\mydir\a1.zip"
"c:\mydir\a1.zip.1"

I can run this command directly from command line,but when I run the macro,
using shell to run winzip ,vba keeps telling me "winzip parameter validation
error"

Can anybody help me ? What is the problem there ?

any messages from you will be appreciated.

thanks in advance .


--

Dave Peterson
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
Importing Outlook Alias into an Excel 2003 macro fidgitthedigit Excel Discussion (Misc queries) 0 May 29th 06 02:24 PM
Macro Help In Excel welshlad Excel Discussion (Misc queries) 14 October 26th 05 02:34 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM
Excel macro that opens new MS Word file and pastes data as a pictu Rob Excel Worksheet Functions 0 July 6th 05 05:12 PM


All times are GMT +1. The time now is 03:35 PM.

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

About Us

"It's about Microsoft Excel"