File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,10 @@ const App = () => {
216
216
217
217
for ( let row = 0 ; row < range . rowCount ; row ++ ) {
218
218
for ( let col = 0 ; col < range . columnCount ; col ++ ) {
219
+ if ( range . formulasR1C1 [ row ] [ col ] === "" ) {
220
+ // Skip empty cells
221
+ continue ;
222
+ }
219
223
const address = properties . value [ row ] [ col ] . address ;
220
224
const match = address . match ( / ! ( [ A - Z ] + ) ( \d + ) $ / ) ;
221
225
let rowIndex = 0 , columnIndex = 0 ; // fallback if parsing fails
@@ -512,7 +516,6 @@ const App = () => {
512
516
513
517
sheet_cells . untrack ( ) ;
514
518
await context . sync ( ) ;
515
- // setWriteProcessedRows(sheetData.cells[Object.keys(sheetData.cells)[Object.keys(sheetData.cells).length - 1]].rowIndex + 1);
516
519
}
517
520
518
521
// Rebuild the calculation engine to ensure all formulas are recalculated
You can’t perform that action at this time.
0 commit comments