This have ALWAYS worked fine on all version of Excel in both languages. A colleague with a Dutch version suddenly gets "#NAME?" (well, actually the Dutch 'version' of this message "#NAAM?") in all cells where this formula is entered.
The odd thing is that if we put the cursor in the formula-bar and press enter, all is OK (without making ANY changes to the formula). Yes, calculation is automatic. I'm not certain if this has anything to do with the language, if might be a local Excel setting on his PC too. This does not (yet) happen on the other -all English- systems... Someone with a clue maybe???
Code: Select all
If Lang <> 31 Then
Range("SummIn").Cells(1, 1).Formula = "=IF(OR(H12="""",H12="" ""),"""",H12)"
Else
Range("SummIn").Cells(1, 1).Formula = "=ALS(OF(H12="""",H12="" ""),"""",H12)"
End If