public static void SetName(this Range range, string name) { range.Workbook.AddNamedRange(range, name); }
public static void Calculate(this Range range) { range.XlRange.Calculate(); }
/// <summary> /// Gets a range of the specified size with this range as the upper-left corner. /// </summary> public static Range GetRange(this Range range, RangeSize size) { var output = range.Worksheet.GetRange(range, size.Rows, size.Columns); return(output); }