I am really getting fed up with VBA. I'm a c/c++ guy myself.
Ok, quick one
I get a "Next Without For" runtime error for this code. Can anyone help me find out what's wrong?
For x = 1 To 10
val = Me("cmbobxGroup" & CStr(x)).Value
If (val <> "") Then
DropDowns(x) = CInt(val)
DropDowns(x) = -1 '-1 indicates a null or empty value
Note that I also did try Next x and that did the same thing.