I can't seem to populate a combo box, using a FOR loop when loading a form ...
Here's the code ....
Private Sub Form_Load()
Dim cy As String
cy = DatePart("yyyy", Date)
For i = 0 To 4
cmbYear.AddItem(cy, i)
Next i
End Sub
I know ... if it works as it should, I would get 5 items in list of "2012", but that's fine for now. I'll do some arithmetic on the 'years' once I get it working.
The form loads, and prompts me to add the items individually 'on' the form at Run-time ??