Change the "E40" to "E" & Rows.Count


Regards, TMS