I'm not seeing a type mismatch on my machine so it probably depends on the contents of your worksheets.
Why aren't you using the previously supplied solution of using formulas on the bottom of your tables? See https://www.msofficeforums.com/excel...-each-row.html
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|