I have values stored in a sheet called config, and goes from H2 (the list is dynamic as more can be added) So I am using the following code:
roomCount = ActiveWorkbook.Worksheets("config").Range("H2", Worksheets("config").Range("H2").End(xlDown)).Rows.Count
So, this gives me the number of rows.
What I am trying to do, but I just can't see to get my head around is, do a loop to store these values from H2 onwards (using my code above) into an array.
and maybe for argument's sake msgbox the array upon a button click.