Try this macro on your sheet:
Option Explicit
Sub SplitTowns()
'JBeaucaire (8/6/2009)
Dim i As Long
Application.ScreenUpdating = False
Do
i = i + 1
If InStr(Cells(i, "B"), ",") > 0 Then
Rows(i).Copy
Rows(i + 1).Insert Shift:=xlDown
Application.CutCopyMode = False
Cells(i, "B") = Left(Cells(i, "B"), WorksheetFunction.Find(",", Cells(i, "B")) - 1)
Cells(i + 1, "B") = Right(Cells(i + 1, "B"), Len(Cells(i + 1, "B")) - _
WorksheetFunction.Find(",", Cells(i + 1, "B")) - 1)
End If
Loop Until Cells(i + 1, "B") = ""
Application.ScreenUpdating = True
End Sub
Bookmarks