Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ExtractRange(worksheet: Worksheet, starColumn: number, iRow: number): Range {
- let currentCol = startCol + 1;
- while (worksheet.getColumn(currentCol).length > 0 && worksheet.getCell(iRow, currentCol).value !== null) {
- currentCol++;
- }
- return worksheet.getCell(iRow, currentCol - 1).getRight(1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement