If you want to empty an array periodically use the Redim command without Preserve:
Dim ar() as String 'at Form Load makes ar dynamic
Redim ar(10) as String 'empties and sets indices from 0 to 10
.
.
.
Redim ar(10) as String 'Empties ar at a later point
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?' Essex Steam UK for steam enthusiasts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.