If you mean that varMax is the size of the array, then it is not neccesary. Ubound gives the size of array too:
If StoredI has 10 elements then
For i = 0 to Ubound(StoredI)
Is the same as
For i = 0 to 9
__________________
Feel free to thank people if they help you by clicking thanks at a post.
=================================
Make it idiot proof and someone will make a better idiot.
=================================
Realise the impotence of proof reading everything you publish
|