Changed
Shell ("C:\Program Files\WinZip\WINZIP32.EXE -min -a -spassword " & target & " " & source)
to
Shell ("C:\Program Files\WinZip\WINZIP32.EXE -min -a -s" & password & " " & target & " " & source)
Posting in case someone else needs this, since I had been hunting for such a code for a...
Hello
I have used the code at this link http://www.tek-tips.com/viewthread.cfm?qid=580108 by PSUIVERSON posted below:
Dim source As String
Dim target As String
Dim password As String
source = Chr$(34) & "C:\DEPTS\050\" & Chr$(34)
target = Chr$(34) & "C:\DEPTS\050\050" & Chr$(34)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.