Thank you once again. Your above code makes sense to me and looks like it would work for what I’m trying to do. However, after working on this for two days I can’t get it to work. Here’s my actual code (My list box is named lstAFibRisks.):
As examples . . .
If item 0 is selected, the code will run to the ELSE statement but then will go to the very top and start over to run through again and never makes it to the END IF statement.
If item 5 is selected, the code runs to the fifth line but doesn’t advance to the line (Next i) to continue the loop. Instead it goes to the very top and starts over to run through only the first three lines of the IF statement.
Do you have any thoughts as to why this happens? I am very grateful for your help.
Bookmarks