Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

external references in formula #126

Open
tonyday567 opened this issue May 22, 2019 · 1 comment
Open

external references in formula #126

tonyday567 opened this issue May 22, 2019 · 1 comment

Comments

@tonyday567
Copy link

Hi,

Reading formula, I get instances of something like [1]Sheet1!A1 and I would guess that this is a shared reference to an external workbook.

How and where would I find what this reference is? I saw the Relationship type, but wasn't sure how to extract a relationship from an Xlsx.

@qrilka
Copy link
Owner

qrilka commented May 22, 2019

Hi @tonyday567
Currently xlsx doesn't do any formula parsing so Formula is just a newtype wrapper around Text.
According to ECMA spec (section "18.17.2.3 Cell References") it looks like you're right but probably xlsx need some extra tweaks to allow you to deal with such external references (they should exist in externalReferences of a workbook).
If you could share an example I could add support for those externalReferences though I'm not sure how soon I could get to it. And PRs are welcomed of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants