Dynamic Arrays in VBA
Sometimes you do not know the number of elements in an array before runtime. In most other programming languages, working with arrays and adding and deleting elements is easy. In VBA, this is not the case. However, there is a simple solution to dynamically populate arrays, with the ReDim statement. … Read more