with visual foxpro I do an excel and in two of the cells I apply two formulas. The first one comes out OK, but the second one appears in Excel with # Name?
1 formula: oSheet.Cells (nFila, nCol) .Formula="= H" + as (nFila) + "* C" + as (nFila) - multiply two cells .. OK
2 formula: oSheet.Cells (nFila, nCol) .Formula="= SUM (" J7: J "+ as (nFila-1))" - what you see from ace (... as is a function of mine to do allt (str (... - Here in the excel it appears as # Name ?. - If I go to the formula and I give the validate button, it refreshes well.
What is wrong? do you know why that happens?
Thanks