Hi All

So, I want to make:

I have array one-dimension of data. Load this data to combobox. But I want have the array of dynamic.
I know how to load this array to combobox e.g.

VB Code:
  1. For lTemp = LBound(sArray) To UBound(sArray)
  2.   Combo1.Additem sArray(lTemp)
  3. Next lTemp

However I want to be able adding the new of data - therefore the array of dynamic.
So.... how I should to declare the array of dynamic? about what I should to remember and about what I can't forget.

I know that I should use keyword ReDim, I don't know unfortunately how to do.

Some example code can to explain me many here

Thanks in advance