+ Reply to Thread
Results 1 to 4 of 4

Restrict directory search to date

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    23

    Question Restrict directory search to date

    I have a current macro that is based on previously used macros. It is used for tracking incoming files that process downstream. The only major problem I have right now is trying to restrict the directory search to the current date (or the one enter into C2). Any help would be greatly appreciated! Thanks.

    Attached is the spreadsheet and script is below:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jujubeans69; 07-27-2013 at 08:34 PM.

  2. #2
    Registered User
    Join Date
    05-11-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Restrict directory search to date

    This must be harder than I thought.

  3. #3
    Registered User
    Join Date
    05-11-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Restrict directory search to date

    Someone gave me this code to try, but now it shows "Run-time error '424': Object is required". When I go into debug mode, it highlights the red part below. Can anyone suggest why, or how to correct? Thanks.

    Please Login or Register  to view this content.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,107

    Re: Restrict directory search to date

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 9
    Last Post: 12-28-2012, 06:47 AM
  2. Need VBA code to search file in directory and sub-directory and show result
    By johnchencanada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2012, 11:13 PM
  3. How do you restrict the range of a search
    By SolihullRog in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2012, 01:57 AM
  4. Search directory
    By beetlejuice1976 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2008, 09:26 AM
  5. Directory Search
    By Stuie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2006, 06:43 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