Thanks a lot dear, can an If condition added in the beginning to perform the macro only if B21 is not zero.