WorksheetFunction.Disc (Excel)
Returns the discount rate for a security.
Disc (Arg1, Arg2, ..., Arg5)
Dim dblDisc As Double
dblDisc = WorksheetFunction.Disc(Arg1:=, Arg2:=, Arg3:=, Arg4:=)
Arguments
Arg1, Arg2, ..., Arg5Arg1 - Settlement - 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 - Maturity - the security's maturity date. The maturity date is the date when the security expires
Arg3 - Pr - the security's price per $100 face value
Arg4 - Redemption - the security's redemption value per $100 face value
Arg5 - Basis - the type of day count basis to use