bColumnCount = Cells(Rows.Count, 2).End(xlUp).Row ActiveSheet.Range("B40 : B" & CStr(bColumnCount)).Select itemsArr = ActiveSheet.Range("B40 : B" & CStr(bColumnCount)) MsgBox itemsArr(1, 1)