I
IntraRELY
Here is my code, but get errors:
Dim installment = 1
Dim beginDate = "1/1/03"
Dim endDate = "1/1/08"
Dim dates(5) As Array
While installment <= 5
endDate = DateAdd(DateInterval.Year, 1, beginDate)
dates.SetValue(couponEndDate, installment)
installment = installment + 1
beginDate = endDate
End While
I even tried to conver the date value to a string, but still recieved
"Object cannot be stored in an array of this type."
TIA,
Steve Wofford
www.IntraRELY.com
Dim installment = 1
Dim beginDate = "1/1/03"
Dim endDate = "1/1/08"
Dim dates(5) As Array
While installment <= 5
endDate = DateAdd(DateInterval.Year, 1, beginDate)
dates.SetValue(couponEndDate, installment)
installment = installment + 1
beginDate = endDate
End While
I even tried to conver the date value to a string, but still recieved
"Object cannot be stored in an array of this type."
TIA,
Steve Wofford
www.IntraRELY.com