Hi, I am making lots of small graphs to help characterise some data so used the Record Macro Function, which works fine, but if I click on the chart line the data is not highlighted in the sheet as it would normally. Any Ideas why not? Here is the macro.
Sub ABC()
'
' ABC Macro
'
'
ActiveCell.Offset(-4, 0).Range("A1:C9").Select
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlLineMarkers
ActiveChart.SetSourceData Source:=Range("'July to Sept'!$C$11824:$E$11832")
End Sub
Sub ABC()
'
' ABC Macro
'
'
ActiveCell.Offset(-4, 0).Range("A1:C9").Select
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlLineMarkers
ActiveChart.SetSourceData Source:=Range("'July to Sept'!$C$11824:$E$11832")
End Sub