can i use an array in vba
Like variables, arrays in VBA are declared using Dim. Besides the array name, you also need to specify the number and type of values the array will store. * In VBA, as in most programming languages, count starts from 0. Hence, (6) actually means that there are 7 stored values (from 0 to 6).