Can someone help!!!
I have written this code to update a speedo style chart in my workbook,
I also have a number of other charts on the same sheet, however when I enter data in one of the other charts. I get the following message " runtime error 1004 unable to get the chartobjects property of the worksheet class"
(I am a beginner at writing vba code) and I am reaching for the headache tablets!!!
Copy of code show below
WORKBOOK SHEETCHANGE
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Application.ScreenUpdating = False
ActiveSheet.ChartObjects("speedo").Activate
ActiveChart.ChartGroups(1).FirstSliceAngle = ActiveSheet.Range("d42")
Worksheets("Area Dashboard").Activate
Range("a1").Select
Application.ScreenUpdating = True