Public Function CouponDays( _
      ByVal vSettlement As Variant _
    , ByVal vMaturity As Variant _
    , ByVal vFrequency As Variant _
    , Optional ByVal vBasis As Variant _
    ) As Variant    CouponDays(#1/15/96#, #12/31/99#, 1, US_NASD_30_360) = 360
    CouponDays(#1/15/96#, #12/31/99#, 2, US_NASD_30_360) = 180
    CouponDays(#1/15/96#, #12/31/99#, 4, US_NASD_30_360) = 90
    CouponDays(#1/15/96#, #12/31/99#, 1, Actual_Actual) = 366
    CouponDays(#1/15/96#, #12/31/99#, 2, Actual_Actual) = 182
    CouponDays(#1/15/96#, #12/31/99#, 4, Actual_Actual) = 91See also:     CouponDaysBeforeSettlement Function
    CouponDaysAfterSettlement Function
    CouponCount Function
    PreviousCouponDate Function
    NextCouponDate Function
    CouponDaysVerify Subroutine
    CouponDaysTest Subroutine
    CouponDaysThreeWayTest Subroutine
    COUPDAYS Function (Microsoft Excel)vSettlement: Settlement date for the security. The date after the issue date when the security is traded to the buyer. Function returns Null if vSettlement is Null, cannot be interpreted as a Date, or is greater than the maturity date vMaturity. The time component of vSettlement (if any) is ignored. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.