WorksheetFunction.Price (Excel)
Returns the price per $100 face value of a security that pays periodic interest.
Price (Arg1, Arg2, ..., Arg7)
Dim dblPrice As Double
dblPrice = WorksheetFunction.Price(Arg1:=, Arg2:=, Arg3:=, Arg4:=, Arg5:=, Arg6:=)
Arguments
Arg1, Arg2, ..., Arg7Arg1 - 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 - Rate - the security's annual coupon rate
Arg4 - Yld - the security's annual yield
Arg5 - Redemption - the security's redemption value per $100 face value
Arg6 - Frequency - the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4
Arg7 - Basis - the type of day count basis to use