[COLOR="Blue"]Sub[/COLOR] SplitCells()
[COLOR="Blue"]Dim[/COLOR] theAreas [COLOR="Blue"]As[/COLOR] Areas
[COLOR="Blue"]Dim[/COLOR] rng1 [COLOR="Blue"]As[/COLOR] Range, rng2 [COLOR="Blue"]As[/COLOR] Range
[COLOR="Blue"]Set[/COLOR] theAreas = Range("E4:P4,E5:P5").Areas
[COLOR="Blue"]Set[/COLOR] rng1 = theAreas(1)
[COLOR="Blue"]Set[/COLOR] rng2 = theAreas(2)
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]Sub[/COLOR]
Sub Loop2()
Do
Dim myrange As Range
Set myrange = Range("E4:P4,E5:P5")
ActiveSheet.Shapes.AddChart.Select
ActiveChart.SetSourceData Source:=myrange
ActiveChart.ChartType = xlLineMarkers
Loop Until IsEmpty(ActiveCell.Offset(2, 4))
End Sub
Sub Loop3()
Do
Dim myrange1 As Range
Set myrange1 = Range("E4:P4")
Dim myrange2 As Range
Set myrange2 = Range("E5:P5").offset(3, 0)
ActiveSheet.Shapes.AddChart.Select
ActiveChart.SetSourceData Source:= myrange1,myrange2
ActiveChart.ChartType = xlLineMarkers
Loop Until IsEmpty(ActiveCell.Offset(2, 4))
End Sub