Answers for "excel vba populate array with data from a table"

VBA
0

excel vba populate array with cell values

Sub from_sheet_make_array()
   Dim thisarray As Variant
   thisarray = Range("a1:a10").Value

   counter = 1                'looping structure to look at array
   While counter <= UBound(thisarray)
      MsgBox thisarray(counter, 1)
      counter = counter + 1
   Wend
End Sub
Posted by: Guest on January-13-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language