Hi, I cannot find the right way to write this code. I keep getting the
error : Next without For
Here's my code.
For Each Choix In RapInd_Code.ItemsSelected
S6 = LBo_RapInd_Code.ItemData(Choix)
S7 = DLookup...
S8 = DLookup...
If (S7 < 8) Or (S8 < 0.5) Then
---MY PROBLEM IS HERE---
Next Choix (HERE I WANT IT TO directly go to the next step)
Else
For i = 1 To S6
...call a procedure in SQL
Next i
End If
Next Choix
Thank you all