Juan Pablo González
MrExcel MVP
- Joined
- Feb 8, 2002
- Messages
- 11,959
In VBA, one good thing is that you can use the local language formulas or, you can code the english formulas, with the same results.
However, this does not apply to all objects, very unfortunately. Two that come to mind right now are Conditional formatting and Data Validation.
They both return the formula in the local language. This could be "easily" translated using a Sub, assigning the FormulaLocal to this cell, then, using the Formula, getting it in english, right ? well, I need to do this in a UDF... and, since a UDF can't make changes to the cells, I'm stuck.
I have a big table, downloaded from http://www.bmsltd.co.uk that has the "formula translations", that is good, I can do a massive substitute, but I feel I'm complicating things.
Any ideas on how to do this ?
However, this does not apply to all objects, very unfortunately. Two that come to mind right now are Conditional formatting and Data Validation.
They both return the formula in the local language. This could be "easily" translated using a Sub, assigning the FormulaLocal to this cell, then, using the Formula, getting it in english, right ? well, I need to do this in a UDF... and, since a UDF can't make changes to the cells, I'm stuck.
I have a big table, downloaded from http://www.bmsltd.co.uk that has the "formula translations", that is good, I can do a massive substitute, but I feel I'm complicating things.
Any ideas on how to do this ?