First it needs to have two variables. I'll call one value and the other total. Both are initialized at 1. I want it go thru each item in the list, and check to see if the item is checked or not. Also, when it checks I need it to also multiply value by 2, if the item is checked, add value to total. Then have it restart the loop on the next item in the list doing the same thing.
I've tried CheckedItemList.Item(x).CheckedState where x is equal to what iteration it is in the loop, but that doesn't work, and there is a CheckedItems, but that won't go thru each value to do what I need it to do.
|