コード例 #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);
        }