code modifying code. The oldest no-no on the books.Well, VBA puts formulas into cells - and therefore can change them.Not much difference.