mohadin. Great.
In another case, if there are more than 2 cells under a text box or there is only 1 number format cell, how to edit the code above?
Thank you