B
BUDDY
I'm trying to embed an event procedure that changes the
point an axis crosses, based on a cell reference. Below
is the code. Below that is the error message I get.
Help?! TIA
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Select Case Target.Address
Case "$Q$3"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes
(xlCategory).CrossesAt = Target.Value
Case Else
End Select
End Sub
"Unable to get ChartObjects property of the Worksheet
class"
point an axis crosses, based on a cell reference. Below
is the code. Below that is the error message I get.
Help?! TIA
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Select Case Target.Address
Case "$Q$3"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes
(xlCategory).CrossesAt = Target.Value
Case Else
End Select
End Sub
"Unable to get ChartObjects property of the Worksheet
class"