TheWennerWoman
Active Member
- Joined
- Aug 1, 2019
- Messages
- 302
- Office Version
- 365
- Platform
- Windows
Hello, how do I push the values of this array out to Sheet6 starting at row 1
Thanks in advance.
I tried this but it fell over
VBA Code:
Dim d As Object, r As Range, c, a, i As Long
Set d = CreateObject("scripting.dictionary")
For Each r In ws1.Range("B3", ws1.Cells(Rows.Count, "B").End(xlUp))
For Each c In Split(r, ",")
d(c) = 1
Next c
Next r
a = Application.Transpose(d.keys)
Thanks in advance.
I tried this but it fell over
VBA Code:
For iRw = LBound(a) To UBound(a)
Sheet6.Cells(iRw, 2).Value = a(iRw, 1)
Next iRw