public static IRange SetNumberFormat(this IRange range, NumberFormat numberFormat) { range.NumberFormat = numberFormat.GetNumberFormat(); return(range); }