OK. If you want VBA for this, then you need to flag this in your thread title to alert the VBA experts (I am not one - sorry).