i have a bit of work to do based on something i have done before
expect this time instead of adding the info to a database i want to populate the text boxes on my screen
here is the code
so i was just wondering is there a way of doing it without have to list all the textboxes
expect this time instead of adding the info to a database i want to populate the text boxes on my screen
here is the code
Code:
Public Sub Annually(SecID As String, INTSTRTDTE As String, INTENDDTE As String)
Dim dteRunningDate As Date
Dim i As Integer
Dim intInterval As Integer
Dim sTempCalendar As String
Dim sid As String
Dim sSql As String
Dim Seq As String
Dim sTempCCY As String
Seq = 0
dteRunningDate = DateAdd("m", 12, INTSTRTDTE)
Do While dteRunningDate <= INTENDDTE
Debug.Print SecID & vbTab; Seq & vbTab; INTSTRTDTE & vbTab & dteRunningDate
INTSTRTDTE = dteRunningDate
dteRunningDate = DateAdd("m", 12, dteRunningDate)
Seq = Seq + 1
Loop
End Sub