Excel vba multidimensional array add row

separate the dimensions. Eg: Dim arr_sample(3,2) as Integer This declares an array of 3 rows and 2 columns that can hold integer values. Example of a two dimensional array Sub array_2d_snacks() 'declaring and defining size of an array '4 means 5 rows starting from 0 to 4 and 1 means 2 columns starting from 0 to 1 Dim arr_sna(4, 1) As Variant ................
................