Hi Thanks guys. Yes sorry that's correct it was meant to be (100,2). I had been sending this data through to a list box which was displaying incorrectly.
It was being transposed, thanks for pointing that out - it was happening through the 'offset' property (I think I posted it here correctly)
Thanks for your help / confirmation of the
Option Explicit
Private Sub UserForm_Initialize()
Dim UB As Variant
Dim UBc As Long
Dim lcount As Long
Dim x As Integer
Dim j As Integer
Dim c As Variant
Dim ArrayToListBox()
Set UB = Range(Worksheets("DATA").Range("A1"), Worksheets("DATA").Range("A" & Rows.Count).End(xlUp)).Offset(1, 0)
UBc = Range(Worksheets("DATA").Range("A1"), Worksheets("DATA").Range("A" & Rows.Count).End(xlUp)).Count
ReDim ArrayToListBox(1 To UBc, 1 To 5)
x = 1
For Each c In UB
ArrayToListBox(x, 1) = c.Value
x = x + 1
Next c
x = 0
For x = 2 To 5
If x <> 5 Then j = x Else j = 9
For lcount = 1 To UBc
ArrayToListBox(lcount, x) = Worksheets("DATA").Range("A1").Offset(lcount, j - 1)
Next lcount
Next x
ResultsData1.ColumnCount = 5
ResultsData1.List = ArrayToListBox()
'ResultsData1.Clear
End Sub
Bookmarks