Ok, now how about this:
What I'm trying to do is when I find a date in my calendar worksheet,
say (12-May-04), I find the cell containing the date and the address is
returned. The address could be anywhere in columns A:G, but say I get
back ($D$401). Now the next 19 cells in column D (or whatever column
the date happens to be in) are the ones I have to search for an empty
cell (because some might already have data in them) and return the
address of the first empty cell in that range. And on top of all that,
the range is divided into two sections.
If type1 then search D402

413
Elseif type2 then search D414

421
End If
so the number of cells under each date is consistent, just need to
figure out how to reference those cells(rows) from the date cell.