Quick question
i wanna populate a cbobox with values 8 to whatever..
what is wrong with this because it is starting at 10 and ending with
8 and 9
For i = 7 To 49
FrmValues.CboVal.AddItem i+ 1
Next
whats wrong here?
Printable View
Quick question
i wanna populate a cbobox with values 8 to whatever..
what is wrong with this because it is starting at 10 and ending with
8 and 9
For i = 7 To 49
FrmValues.CboVal.AddItem i+ 1
Next
whats wrong here?
Lets eliminate the bad code first, try this
For i = 7 To 49
FrmValues.CboVal.AddItem CStr(i + 1)
Next i
It works fine for me even without my change
Its got 2 start at 8 but still seems to be ending with 8 and 9
I get 8 to 50, no problem.
Im propably doing something worong thanx any way
Post your code. We'll fix it.