Bug 167765 - FILEOPEN XLSX Dropdown form control input range does not support named range given with formula
Summary: FILEOPEN XLSX Dropdown form control input range does not support named range ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: XLSX-Form-Controls
  Show dependency treegraph
 
Reported: 2025-08-01 15:56 UTC by Gabor Kelemen (allotropia)
Modified: 2025-08-01 16:15 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
How it looks in Excel and Calc (79.73 KB, image/png)
2025-08-01 15:56 UTC, Gabor Kelemen (allotropia)
Details
Listbox Properties dialog, when trying to create something similar from scratch (34.30 KB, image/png)
2025-08-01 15:59 UTC, Gabor Kelemen (allotropia)
Details
Simple reproducer made in Calc (11.02 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-08-01 16:15 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2025-08-01 15:56:43 UTC
Created attachment 202131 [details]
How it looks in Excel and Calc

This is related to bug 167764

The example file attachment 202128 [details] has two dropdown list boxes, and the input range for these is given as a named cell range (Days), and a named range (Weekends) specified by a trivial formula referring to the other named range (Days).

When opened in Calc, the simple named range gets converted into a static cell range reference and works like in Excel.
But the one given with a simple formula gets converted into A1, and it does not show the same set of elements.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2025-08-01 15:59:45 UTC
Created attachment 202132 [details]
Listbox Properties dialog, when trying to create something similar from scratch

In Calc it is not supported to add a named range as form control Source cell range.
Comment 2 Gabor Kelemen (allotropia) 2025-08-01 16:15:20 UTC
Created attachment 202133 [details]
Simple reproducer made in Calc

Selecting the control, right click -> Control Properties, Data tab, try to set "Days" in the "Source cell range" -> this is not allowed.