A family of Microsoft relational database management systems designed for ease of use.
The argument of CalcCutLen cannot be the function name calcTnB.
Since you want to call calcTnB in CalcCutLen, you will have to pass TopSize, TopSizeXs, Hem and HemXs.
For example
Public Function CalcCutLen(TopSize As Single, TopSizeXs As Single, Hem As Single, HemXs As Single) As Single
CalcCutLen = calcTnB(TopSize, TopSizeXs, Hem, HemXs) + 25
End Function
Remarks:
The check If Not IsNull(…) is superfluous. An argument of type Single cannot be Null. If you want to allow Null as argument, you should declare the arguments as Variant:
Public Function calcTnB(TopSize As Variant, TopSizeXs As Variant, Hem As Variant, HemXs As Variant) As Single
This version will return 0 if an argument is Null. If you want it to return Null, you should make the function return a Variant too:
Public Function calcTnB(TopSize As Variant, TopSizeXs As Variant, Hem As Variant, HemXs As Variant) As Variant