FIX: Ranges selected should be absolute.

Sheet1!$D$1 rather than Sheet1!D1

There reason is that if we extend a formula that has those will behave in
surprising ways.
This commit is contained in:
Nicolás Hatcher
2025-01-01 17:39:32 +01:00
committed by Nicolás Hatcher Andrés
parent ea194ee730
commit b7f7e73824
2 changed files with 15 additions and 13 deletions

View File

@@ -41,5 +41,5 @@ test("format range to get the full formula", async () => {
};
const worksheetNames = ["Sheet1", "Notes"];
expect(getFullRangeToString(selectedView, worksheetNames)).toBe("Sheet1!H1");
expect(getFullRangeToString(selectedView, worksheetNames)).toBe("Sheet1!$H$1");
});