+ Reply to Thread
Results 1 to 1 of 1

Excel 2007 : Loop to check if date is between two dates from 2nd workbook and loop until true

  1. #1
    Registered User
    Join Date
    07-19-2010
    Location
    NYC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Loop to check if date is between two dates from 2nd workbook and loop until true

    I need to write a macro that will do the following.
    - Check whether a start date from first file "Summary" is between two dates in second file "Dates".
    -Loop through dates until it finds a set that it is inbetween.
    -Once it finds a true statement, I need it to return the value from the "Dates" file into the cell for the corresponding Job.
    - Repeat this for every Job and Date combination

    I am getting stuck on referencing another workbook in a VB IF statement and looping statements always seem to get the best of me.

    Please help. Thanks!!!
    Attached Files Attached Files

+ 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