S
Sergio Martins
Hi.
I have a small program that creates by code a “Excel†file.
One of the cells is fill with a sum formula.
My problem is:
The program can be executed in machines that have “Excel†in Portuguese or
“Excel†in English, if the code fill the cell with “Soma()†when the “Excelâ€
file is created in Portuguese “Excel†the file is valid in any “Excelâ€,
however if the file is created in English “Excel†the cell have an error.
I also try to set the formula like “SUM()†but in this case I got the error
if the file is created in Portuguese “Excelâ€.
To create de formula in the cell I use the following code:
objWs.Cells(6, A).Formula = "=SOMA(A3:A5)"
Can anyone explain, how can I create a “Excel†file with formulas that are
independent from the language of the “Excel†in the machine that create the
file?
Thanks in advance.
Best regards
Sérgio Martins
I have a small program that creates by code a “Excel†file.
One of the cells is fill with a sum formula.
My problem is:
The program can be executed in machines that have “Excel†in Portuguese or
“Excel†in English, if the code fill the cell with “Soma()†when the “Excelâ€
file is created in Portuguese “Excel†the file is valid in any “Excelâ€,
however if the file is created in English “Excel†the cell have an error.
I also try to set the formula like “SUM()†but in this case I got the error
if the file is created in Portuguese “Excelâ€.
To create de formula in the cell I use the following code:
objWs.Cells(6, A).Formula = "=SOMA(A3:A5)"
Can anyone explain, how can I create a “Excel†file with formulas that are
independent from the language of the “Excel†in the machine that create the
file?
Thanks in advance.
Best regards
Sérgio Martins