need help to fix the compile error of erfc function vba code : Hi I tried to use erfc in my code but it gave me error. it says argument not optional . could you please help me fixing this problem I'm new to programming.

an example on that is given below

    For j = 0 To 150 

    f = 1

    For m = 1 To j

    f = f * m

    Next

    Application.WorksheetFunction.Erf = (Application.WorksheetFunction.Erf) + (-1) ^ j * b ^ (2 * j + 1) / ((2 * j + 1) * f)
    Next

  

    Application.WorksheetFunction.ErfC = 1 - 2 / Sqr(3.14) * Application.WorksheetFunction.Erf

    MsgBox (Application.WorksheetFunction.ErfC)

    xf1 = (wa + 2 * sp) * q / (4 * cl ^ 2 * 3.14 * hf)
    xf2 = Exp(b ^ 2) * Application.WorksheetFunction.ErfC

    xf3 = 2 * b / Sqr(3.14) - 1

    xf = xf1 * (xf2 + xf3)


thank you in advance 