A dynamic array is one whose size can be changed at run-time.
Dim myArray() as String
sets up a dynmamic array. When you know how big it needs to be you can set it's size:
ReDim myArray(10) as String
If you later want to increase it's size, but retain it's values, use:
ReDim Preserve myArray(15) as String
See also ReDim in VBHelp
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'