Control referencing in vba
I’d like to be able to do something like this in code, where I write
Me.cboRegion(I) where I=0 and thus me.cboRegion(I) will be me.cboRegion0
I currently wrote something like this but it is failing with a “method/data member error not found error”
If IsNull(Me.cboRegion(I)) = True And IsNull(Me.txtEvent(i)) = True Then
I’d like to be able to do something like this in code, where I write
Me.cboRegion(I) where I=0 and thus me.cboRegion(I) will be me.cboRegion0
I currently wrote something like this but it is failing with a “method/data member error not found error”
If IsNull(Me.cboRegion(I)) = True And IsNull(Me.txtEvent(i)) = True Then