Hi
I've retested and cannot reproduce your issue. The code only works on the data in column D, rows containing zeros outside this will still be visible if the value in D for that row is not a zero.
The Clean code was my mistake was in a rush and didn't write it correctly or test it, sorry.
Can you make a copy of the spreadsheet available for me to have a look at? That way we can both be talking and working on the same data.
G North MMI