Spanish/English Formulas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm writing a code that inputs a formula in a cell.

How can I get it so the formula is readable either in English and Spanish
versions of Excel?. i.e. '=SUM(A1,B1)' and '=SUMAR(A1;B1)', please note the
different separations ',' and ';'.

Thanks!
 
Hi econcult

If you insert it with VBA you can use the English formulas and seperator

ActiveCell.Formula = "=SUM(A1,B1)"

On a Spanish machine it will be =SUMAR(A1;B1) in the cell

Only you can't use the ATP functions this way
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top