davedave24
Programmer
I'm trying to put a range (column B in a worksheet) into an array when the form loads. All I require is that it reads down column B until there is an empty cell, and adds those values to the array rngBags. This only returns the first value though (I'm only just learning arrays so bear with me)
Do I need to use ReDim or something?
Code:
'at the top
Dim rngBags as Variant
'in userform_intialize
Set rngBags = Worksheets("Customers").Range("B1").End(xlDown)
Do I need to use ReDim or something?