Sorry for the trouble.
I have attached the excel with a few lines of data to test the VBA.
If you check Row # 76, The Cheque date is 01-01-2019, and the Clearing Date too is 01-01-2019. Yet the Cheque date in Column A is highlighted. This should not happen.
If you check Row # 78, The Cheque date is 10-09-2018, and the Clearing Date is 15-09-2018. Yet the Cheque date in Column A is highlighted. This should not happen. As the data in Column L indicates that the cheque has been cleared on 15-09-2018
Now, if you check Row # 79, The Cheque date is 10-09-2018 (which is 150+ days old), but column L is empty as the cheque has not cleared. This is the only time that the data in Cell A79 should be highlighted.
Also, all the blank cells from Row # 80 and below are highlighted even though there is no data present.
I hope my explanation was clear.
Cheque Book Register.xls




Reply With Quote

Bookmarks