+ Reply to Thread
Results 1 to 2 of 2

VBA code to search for specified Zip folder to extract.

  1. #1
    Registered User
    Join Date
    02-19-2020
    Location
    United Kingdom
    MS-Off Ver
    365
    Posts
    1

    VBA code to search for specified Zip folder to extract.

    Hi Everyone,

    i hope someone may be able to shed light on my issue.

    I am trying to use vba code to look for a Zip folder with specific tiltle and extract this to a specified folder.

    i have got it all to work except for get it to register the file.zip name.

    the code i am using is:

    Please Login or Register  to view this content.
    I have put in the title for the "application.getopenfilename" but this still makes me select the folder i am wanting to extract.

    any thoughts?

    thanks!

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: VBA code to search for specified Zip folder to extract.

    yes, GetOpenFilename forces the user to select an item.
    don't use it if you already know the file name/path.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel VBA code for selecting a folder then search & open specified files in that folder
    By Excelrookie_1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2021, 03:09 AM
  2. VBA code to search Sub-Folder containing String
    By mashiulalam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2019, 09:30 AM
  3. Loop Code to extract information from all files in a folder to a mastersheet
    By flaire14 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2017, 08:34 PM
  4. Search for latest email in all folder and Reply to all with macro code.
    By saravanan1981 in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2016, 09:56 AM
  5. Search for latest email in all folder and Reply to all with macro code.
    By saravanan1981 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2016, 05:07 AM
  6. Search and extract code with popup box
    By Kevin Stewart in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2013, 07:20 PM
  7. please help me with a code to search a list of files in column A to folder
    By khan.washik in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2012, 10:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1