+ Reply to Thread
Results 1 to 2 of 2

Codes for looping thru all file when matches found

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    dayton ohio
    MS-Off Ver
    Excel 2010
    Posts
    34

    Codes for looping thru all file when matches found

    Need to loop thru all files in a folder, then move data to a master spreadsheet when criteria matches.

    It is not working as expected. But i can't figure out way. I am guessing it has something to do with where " Set WBD = Workbooks.Open(Filename:=thisfile) " needs to be.

    Thanks.

    Please Login or Register  to view this content.
    Last edited by Leith Ross; 05-06-2013 at 09:04 PM. Reason: Added Code Tags

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: Codes for looping thru all file when matches found

    Replace this...
    Please Login or Register  to view this content.

    With this...
    Please Login or Register  to view this content.
    Otherwise, can you better explain what; "It is not working as expected." means? Both the "not working" and the "expected" parts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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