tidyxl icon indicating copy to clipboard operation
tidyxl copied to clipboard

Formulas referring to other files

Open RavenCEF opened this issue 3 years ago • 2 comments

Forgive my noobyness... the readme refers to "the roadmap for tidyxl includes de-referencing such numbers". I'm struggling to understand where the "roadmap" is in the github documents. I'm working on parsing all formulas in a very large workbook as part of an automation project and was hoping there was a way to access a table with these indexed links "example [1]" that exit in my formulas. I've created a macro in Excel to pull those links, but I have to manually reference them with the index numbers provided in the xlsx_cells data. Wondering if this is something still in dev or completed and I'm just missing it. Thanks so much.

RavenCEF avatar Feb 11 '21 03:02 RavenCEF

Sorry, there's no separate roadmap document. Nevertheless, I did intend to provide those tables once someone needed it.

Would it be sufficient for your purposes to have a separate table of external references, but not to put these inline into the formula? E.g. the formula would still appear as =[1]Sheet1!$A$1, but you could look up a table with the columns id and path.

Note to self: ECMA-376 Part 1, page 2052

nacnudus avatar Feb 12 '21 17:02 nacnudus

So sorry for the slow response. I thought I would get an email notice that the issue was commented on. over the last few weeks I developed my own crude way of reading in the true file names from the index. I solved my problem, in other words.

I would share my code, if I thought it would actually prove useful... but a little shy about that.

I think a separate index reference table would be fine, to answer your question. (That's exactly what I created)

Chuck-Field avatar Mar 20 '21 16:03 Chuck-Field