WorksheetFunction.CoupNum (Excel)

Returns the number of coupons payable between the settlement date and maturity date, rounded up to the nearest whole coupon.

CoupNum (Arg1, Arg2, ..., Arg4)


Dim dblCoupNum As Double
dblCoupNum = WorksheetFunction.CoupNum(Arg1:=, Arg2:=, Arg3:=)

Arguments

Arg1, Arg2, ..., Arg4

Arg1 - The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer

Arg2 - The security's maturity date. The maturity date is the date when the security expires

Arg3 - The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4

Arg4 - The type of day count basis to use