I wanted to get the format string for a given cell of a spreadsheet (ignoring any conditional formatting), i.e. the string that appears when we do Format·Cells...
in the Numbers tab under Format Code, and could be used in the Format (value, format-string)
function.
I inspected the cell object in the debugger, expecting to find this in a property, but the most promising thing I could see was FormatID
, and at first I had no idea what that did.
Edit 2024-04-04 22:25 CEST
My ulterior objective is to format a value in a text in a dialogue as it would appear in the given cell.