Hallo!
Ich habe eine Frage; Warum VBA von Excel während der Übersetzung von
VLOOKUP Formel von Englisch nach Deutsch, die übersetzte Formel geändert
wird?
Die Formel, die übersetzt wird:
Selection.FormulaLocal = GetLocalizedFormula("=
SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(VLOOKUP($H2;translation_en_G
B!B:C;2;""FALSE"");""%1"";$I2);""%2"";$J2);""%3"";$K2);""%4"";$L2)")
Funktion der Übersetzung:
Function GetLocalizedFormula(formula As String)
' returns the English formula from the parameter in the local format
Dim temporary As String
temporary = Range("D1").formula
Range("D*").formula = formula
Dim result As String
result = Range("D*").FormulaLocal
Range("D*").formula = temporary
GetLocalizedFormula = result
End Function
Nach der Übersetzung:
=
WECHSELN(WECHSELN(WECHSELN(WECHSELN(SVERWEIS($H2;translation_en_GB!#BEZU
G!;2;"FALSCH");"%1";$I2);"%2";$J2);"%3";$K2);"%4";$L2)
Wenn ich per Hand #BEZUG! auf B:C ändere, arbeitet es richtig.
Wie Kann ich die Übersetzung anpassen?