Thanks Naveed Raza You r raja of VBA macro Nice smart work...!!!