I'm sure this should be easy with a simple while loop but I can't get it working.
I have 50 objects, which have either a 0 or a 1 in a variable, let's say it's called 'Value'. I want to choose one of them at random, which contains a 0 in 'Value'.
I was thinking...
While
Pick a random 'Object'
Object.Value=0
Sub Event - Do my stuff.
But that's not working, not sure if picking in a 'while' works as I'm thinking it does. Or maybe there's just a much simpler way?