const ws = context.workbook.worksheets.getItem("Sheet1");
let getLastCell = ws
.getCell(0, 1)
.getEntireColumn()
.getUsedRange(true)
.getLastCell()
Thank you. I use the find last row all the time as I mainly deal in consistent data frames.Yes there is.
JavaScript:const ws = context.workbook.worksheets.getItem("Sheet1"); let getLastCell = ws .getCell(0, 1) .getEntireColumn() .getUsedRange(true) .getLastCell()
by setting getUsedRange to true, it will grab the last cell that has a value in it.
you are welcome. I have been playing around with the new Excel TypeScript macros. They are fun but definitely have a learning curve.Thank you. I use the find last row all the time as I mainly deal in consistent data frames.