I have a bunch of textboxes which will be populated with values selected from a dropdown.
Lets say out of 10 textboxes, values were populated in 5: Rinv1 to Rinv5.
How can I loop through these and collect those values?
I am trying to use a for each loop and collect those values in an array and then store those values in a field in my DB.
Rolls = Array(Me.Rinv1, Me.Rinv2, Me.Rinv3) Dim RollName As Variant 'iterating using For each loop. For Each Item In Rolls RollName = RollName & Item Next Forms![LabelSHEETER2].JOB = RollName Some syntax error.