Hallo,
ich habe folgende Funktion in mein Excel ingetriert:
Function myDISCOUNT(quantity, price)
Dim strText As String
Debug.Print "1"
If quantity > 99 Then
strText = "High"
Else
strText = "Small"
End If
myDISCOUNT = strText
End Function
In meiner Excel-Tabelle kommt aber nur der Wert "FALSCH" zurück. Im Formelassistent wird mir aber der richtige Wert angezeigt.
Der Link zur Datei ist hier: Link
Hat jemand einen Tipp für mich, wo mein Fehler liegt?
Danke
|