Exemplo n.º 1
0
        public string ReadLineCellText()
        {
            Range range = ExcelUtil.GetRange(Row, Col, this.WorksheetInstance);

            if (range.Text != null)
            {
                MoveNext();
                return(range.Text.ToString().Trim());
            }
            else
            {
                MoveNext();
                return(string.Empty);
            }
        }
Exemplo n.º 2
0
        public static void RangeDeleteRows(int row, int col, Worksheet ws)
        {
            Range cols = ExcelUtil.GetRange(row, col, ws);

            DeleteRows(cols, col);
        }