Sub test()
Dim i As Integer
Dim arr() As String
Application.ScreenUpdating = False
On Error Resume Next
For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row
arr = Split(Cells(i, 3), ",")
For j = 0 To UBound(arr)
LASTROW = Cells(Rows.Count, 6).End(xlUp).Row + 1 'change it as your
destination
Cells(LASTROW, 4) = Cells(i, 1)
Cells(LASTROW, 5) = 1
Cells(LASTROW, 6) = arr(j)
Next j
Next i
Application.ScreenUpdating = True
End Sub
hope this can be helpful

Signature
Regards,
Sebation.G
"geniusideas" <geniusideas@gmail.com>
??????:1179642304.407734.187100@o5g2000hsb.googlegroups.com...
>> TRY: this code can get your result,but it has a defult that it will take
>> long time when it does with huge data.
[quoted text clipped - 46 lines]
>
> Tq, it goes to sheet 2, but i need it in same sheet, How?
geniusideas - 20 May 2007 09:09 GMT
> Sub test()
> Dim i As Integer
[quoted text clipped - 74 lines]
>
> > Tq, it goes to sheet 2, but i need it in same sheet, How?
Tq very much, it works..