我正在尝试创建一个VBA内置函数,如果根据要求,一种类型的计算是完成的。这就是我想要做的,但它不起作用。有没有人可以举例说明这种类型的函数是如何实现的? Public Function FRPV(ratey As Double, ratet0 As Double, maturity As Date, asof As Date, amount As Double, testif As Double)
FRPV = ((1 + (ratey / 100) * (maturity - asof) / 360) * amount) / (1 + (