Perhaps there is a better way, but this should work.
Sub SeparateBinary()
Dim nRow As Long, nCol As Long, str As String
'Find the last row in column A
For nRow = 1 To Cells(Rows.Count, "A").End(xlUp).Row
'Copy cell to string
str = Cells(nRow, "A").Value
For nCol = 1 To Len(str)
'Separate Binary Digits into each Column
Cells(nRow, nCol) = Mid$(str, nCol, 1)
Next nCol
Next nRow
End Sub
You wrote "column B" in your message, but your workbook showed column A. For column B, you would need to change "A" to "B" and the line "Cells(nRow, nCol) = ..." would need to be "Cells(nRow, nCol + 1) = ..."
Bookmarks