Add getting cell attribute function for excel