On 30 Aug 2025, at 20:22, Matt Jadud wrote:
So.
If you name your sheet one thing in your test case, and then a range
references a differently named sheet (which is not in the workbook), then
the named ranges won't appear.
Yes, the specification is basically shit.
E.g. If the sheet was named "SheetOne," and you declare the (global) named
range to reference "Sheet1!A1:A5", then nothing will work.
Checking this is what I consider "application-like" functionality and beyond the scope of Openpyxl.
I made some changes, and my test cases were no longer valid. Nothing to see
here... move along, move along...All of that said, are PRs against the docs acceptable? Any
guidelines/preferences to how it is done? I would be willing to expand out
the defined names section.
PRs are always welcome. The workflow with Heptapod is a bit different in that you can't fork the library, you make a "topic", which is a kind of branch and the rest is the same.
However, you need to be a developer to do this and I'm away from keyboard for the next couple of weeks.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Sengelsweg 34
Düsseldorf
D- 40489
Tel: +49-203-3925-0390
Mobile: +49-178-782-6226