Bob,
This macro will process as many values in column D as you have.... version 1 overwrites the original
values with the / and version 2 leaves them in.
HTH,
Bernie
MS Excel MVP
Sub Version1()
Dim c As Range
Dim myC As Integer
Dim myR As Long
Dim i As Long
myR = Cells(Rows.Count, 4).End(xlUp).Row
For i = myR To 2 Step -1
Set c = Cells(i, 4)
If InStr(1, c.Value, "/") > 0 Then
myC = Len(c.Value) - Len(Replace(c.Value, "/", ""))
c.EntireRow.Copy
c.Offset(1).EntireRow.Resize(myC).Insert
c.Resize(myC + 1, 1).Value = Application.Transpose(Split(c.Value, "/"))
End If
Next i
End Sub
Sub Version2()
Dim c As Range
Dim myC As Integer
Dim myR As Long
Dim i As Long
myR = Cells(Rows.Count, 4).End(xlUp).Row
For i = myR To 2 Step -1
Set c = Cells(i, 4)
If InStr(1, c.Value, "/") > 0 Then
myC = Len(c.Value) - Len(Replace(c.Value, "/", ""))
c.EntireRow.Copy
c.Offset(1).EntireRow.Resize(myC + 1).Insert
c.Offset(1, 0).Resize(myC + 1, 1).Value = Application.Transpose(Split(c.Value, "/"))
End If
Next i
End Sub