I've got an old VBA-script (Office 2003) to fix which fails in Office 2010. The problem seems to be caused by the syntax used to reference sheets and cells.
ActiveChart.SeriesCollection(1).XValues = _
"=EP!Z1S2:Z1S" & Mid(Str(Schritte + 2), 2)
With ActiveChart.SeriesCollection(1)
.Values = "=EP!Z3S2:Z3S" & Mid(Str(Schritte + 2), 2)
.Name = "=EP!Z3S1"
End With
Is there an alternative to using "=Sheet!CellRange"? Or can the problem be solved by changing some configuration in Office / Excel?