Range Names in XLSX files
-
- Posts: 1
- Joined: Thu Apr 22, 2010 2:40 pm
Range Names in XLSX files
I'm having trouble loading range names using the new XLSX format. XLS works fine, but with an XLSX file I always get an error. All of the names can be found in XLS.InternalNames, but for each one FNameDef is nil, and consequently NameIsArea and NameIsCell always return False. If I try to access the row or column coordinates then the exception 'Name is not of requested type.' is raised. I have v 4.00.35.
Re: Range Names in XLSX files
Hello
Names are not completely implemented in excel 2007 files yet. You can however read a names definition from the NameDefStr property.
Example: ShowMessage(XLS.InternalNames[0].NameDefStr);
Don't do any changes to NameDefStr!
Names are not completely implemented in excel 2007 files yet. You can however read a names definition from the NameDefStr property.
Example: ShowMessage(XLS.InternalNames[0].NameDefStr);
Don't do any changes to NameDefStr!
Lars Arvidsson, Axolot Data