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

Undocumented cell cache and non-deterministic functions #489

Open
kAlvaro opened this issue Jul 21, 2023 · 0 comments
Open

Undocumented cell cache and non-deterministic functions #489

kAlvaro opened this issue Jul 21, 2023 · 0 comments

Comments

@kAlvaro
Copy link

kAlvaro commented Jul 21, 2023

When reading spreadsheets, there is apparently a file cache somewhere, that I couldn't find referenced in the documentation. This is normally great, but it can be a problem for non-deterministic formulas, e.g.:

="XYZ" & RANDBETWEEN(100, 100000)
="Updated on " & TEXT(NOW(), "d/mm/yyyy hh:mm:ss")

If you process the same exact file several times, in different script executions, you get the same random integer and the same (outdated) current time.

It'd be great if documents would warn about this, and maybe even have a flag to skip cache whenever needed.

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

1 participant