View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pierre Pierre is offline
external usenet poster
 
Posts: 149
Default Looping through 2 workbooks

I have 2 workbooks. One contains a list of data ranges and the other one a
list of date. I would like to check for each date in my 2nd workbook if the
date is in the ranges listed in my f1st workbook.
Example of workbook 1:
1 1/1/2007 2/1/2007
2 3/1/2007 5/1/2007
3 9/1/2007 10/1/2007

Example of workbook 2:
1 1/15/2007
2 1/17/2007
3 9/19/2007

Result should look like this:
1 1/15/2007 1
2 1/17/2007 1
3 9/19/2007 3

Any ideas how I could achieve this?

Thanks