|
-
Apr 19th, 2000, 06:16 AM
#1
Thread Starter
Addicted Member
How would I get the below code to go from 1994 to the current date. I tried to use Date but I get an overflow error message?
Private Sub Form_Load()
Dim i As Integer
For i = 1 To 12
cboMonth.AddItem Format(i & "/" & i, "mmmm")
Next i
For i = 0 To 10
cboYear.AddItem 1994 + i
Next i
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|