예제 #1
0
 public static void SetName(this Range range, string name)
 {
     range.Workbook.AddNamedRange(range, name);
 }
예제 #2
0
 public static void Calculate(this Range range)
 {
     range.XlRange.Calculate();
 }
예제 #3
0
        /// <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);
        }