PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD24 xlsDocument
WD24 xlsDocument
Iniciado por VEGEboss, 15,jul. 2019 18:13 - 1 respuesta
Miembro registrado
88 mensajes
Popularité : +2 (2 votes)
Publicado el 15,julio 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?
Miembro registrado
88 mensajes
Popularité : +2 (2 votes)
Publicado el 15,julio 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?