Hey Peoples,

I got a short Question. I am using this Code but if the first Formula is true it steps one to next one. Can I get off in beforehand? (Like Exit Sub in VBA)
Or must I nest the If Clauses?

Code:
    Dim HMV(), KST() as String
    Dim LKZ() as Number
        HMV = Array("0440010", _
                    "1940013", _
                    "5045011", "5045012")
        LKZ = Array(8, 9)
        KST = Array("105313145", "185313145")

	If SelectPosition({AUFDRUP_TXT.HiMi-IDNr}, "00", {AUFDRUP_TXT.REZANT}, 100, Count({AUFDRUP_TXT.POSNUM})) Then Formula = True

    If Not AreCriteriaTrue( _
                            IsCriteriaTrue(2, 0, 0, HMV, {@strHilfsmittel_Nummer (oP)}, 7), _
                            IsCriteriaTrue(1, LKZ, {@strHilfsmittel_LKZ}, "", "", 0), _
                            IsCriteriaTrue(2, 0, 0, KST, {AUFDRUK_TXT.K-IKNUM}, 0), _
                            True) Then Formula = True