PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WD24 xlsDocument
WD24 xlsDocument
Débuté par VEGEboss, 15 juil. 2019 18:13 - 2 réponses
Membre enregistré
88 messages
Posté le 15 juillet 2019 - 18:13
hello folks

I'm learning the use of Excel files with WinDev and I found 2 problems

One already described in a previous post about the INDEX() function missing
(and I'm still waiting for an help)

The new one is about the subject: a variable of xlsDocument type

If I load an Excel file with xlsOpen() I can succesfully read all the values
in the cells… BUT if I write some new values in cells the formulas involved
by the modified cells are not updated

maybe I'm asking too much, trying to have "online" calculation is the
xlsDocument loaded… BUT if I save the variable ( xlsSave ) and I re-open
the file with Excel… I can see the new values but the formulas are NOT UPDATED

and if I press [F9] (forcing recalculation) NOTHING HAPPENS... only if I go on
the cell containing the formula, press [F2] and [ENTER] I can read the correct
value… :(

I'm sure I'm doing something wrong: someone can help me?
Membre enregistré
88 messages
Posté le 15 juillet 2019 - 18:41
a little update: I found the

RecalculateWhenLoading


property and I verified that, when I re-open the XLSX file, the formulas
are updated… BUT only if open it with Excel :(

how can I get updated values immediately?
Membre enregistré
1 message
Posté le 18 janvier 2025 - 17:34
Hi there,

Any update few years after about how to update formula results in WD24 xlsDocument ? WD2024 xlsDocument ?
I'm facing exactly the same issue.
Of course, I tried xlsRecalculateAll() without effect.

Regards.
Message modifié, 18 janvier 2025 - 17:36