Hello,
Does anyone have a readily code or function that determines the most frequent item in the array ?
I think it will take me a while to come up with it.
I created an array
Dim ar(50)
It stored up to 50 items, sometimes the items can all be the same, other times it could be different.
I just want to find the item that stored in there the most frequent time.
This array can be 50 or 60 or 100, I just decided to set it to 50 but maybe I will change this to more if I decided I needed to for some reason.
Thanks
Does anyone have a readily code or function that determines the most frequent item in the array ?
I think it will take me a while to come up with it.
I created an array
Dim ar(50)
It stored up to 50 items, sometimes the items can all be the same, other times it could be different.
I just want to find the item that stored in there the most frequent time.
This array can be 50 or 60 or 100, I just decided to set it to 50 but maybe I will change this to more if I decided I needed to for some reason.
Thanks