hi strippy, as a sample of the workbook in question is not available and thus the data structure is unknown the quess is:
sort of decoding what it does:
1. Range(Datum).Offset(-1, 6) - From Range(Datum) we move 1 row up and 6 columns to the right
2. End(xlDown) - move down till the first non-empty value. If there is no such cell we arrive at the end of the sheet - its last row
3. Offset(1, 0) - if non-empty cell exists and it is not located in the last row of the sheet, we move 1 row down. Otherwise we get error as we are out of rows.
Bookmarks