I coded a macro in calc using the french equivalent FunctionAccess of “EOMONTH”, which is :
oFA = createUnoService( "com.sun.star.sheet.FunctionAccess" )
vEndOfMonth = oFA.callFunction("FIN.MOIS",Array(sCDate,0))
My problem is that If I send my macro to someone who’s set calc language to whatever language other than french, my macro won’t work ! it’s annoying, and I thought that the english name of FunctionAccess would work for any users…it does not seem to be the case.
Any ideas ?
Thank you a lot.