Consulting

Results 1 to 6 of 6

Thread: Open Password protected zip file using vba

  1. #1

    Open Password protected zip file using vba

    Hi,

    I want to open a zip file which is protected with password using excel vba.

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,064
    Location
    Do you know the password?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    yes.. I want to open it through vba coding...

    currently i use

    Set oApp = CreateObject("Shell.Application")
    oApp.Open (Fname)

    with this i will supply the password. i don't how to do it.

  4. #4

  5. #5
    The zip file is password protected...

  6. #6
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    The answer depends on what 3rd party programs you have. Rons explains that in the reference that I gave you.

    Winzip and 7-zip are two popular ones. Ron and others have examples of those. For 7-zip, here is another example. http://exceldatabase.comuf.com/vba.html

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •