Ejemplo n.º 1
0
 public static void SetName(this Range range, string name)
 {
     range.Workbook.AddNamedRange(range, name);
 }
Ejemplo n.º 2
0
 public static void Calculate(this Range range)
 {
     range.XlRange.Calculate();
 }
Ejemplo n.º 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);
        }