Code for CA Excel functions CALIB