Setting RangeView.numberFormat errors if the visibleView is 1 cell #4452
Labels
Area: Excel
Issue related to Excel add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Provide required information needed to triage your issue
When trying to set the numberFormat of a visibleView that contains only 1 cell, the follow error is produced:
RichApi.Error / InvalidArgument / "The argument is invalid or missing or has an incorrect format."
Your Environment
Expected behavior
Setting the numberFormat should behave the same for a range of 1 cell as for larger ranges.
Current behavior
When getVisibleView() reduces the visible range to a single cell, setting the numberFormat no longer works.
Steps to reproduce
This works as expected:
This does not work:
Context
This causes an unpredictable error that only surfaces when a visible range is filtered down to a single cell.
The text was updated successfully, but these errors were encountered: