Answers for "vba while loop continue"

VBA
3

vba continue for each loop

For i = LBound(Schedule, 1) To UBound(Schedule, 1)
    If (Schedule(i, 1) < ReferenceDate) Then
        PrevCouponIndex = i
        Goto NextIteration ' <- Key code
    End If
    DF = Application.Run("SomeFunction"....)
    PV = PV + (DF * Coupon / CouponFrequency)
    '....'
    'a whole bunch of other code you are not showing us'
    '....'
    NextIteration: ' <- Key code
Next
Posted by: Guest on January-01-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language