Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use the following code to update a chart in my worksheet:
Sub ChartRow() Dim mySeries As Series Dim myItem As PivotItem Set mySeries = ActiveSheet.ChartObjects("RowChart").Chart.SeriesC ollection(1) Set myItem = ActiveCell.EntireRow.Cells(1).PivotItem mySeries.Values = myItem.DataRange mySeries.Name = myItem.LabelRange End Sub What I need is a way of detecting automatically whenever the active cell has changed, then to execute this code. The active cell may change by someone scrolling through records using the cursor keys or by clicking directly with the mouse. Anyone? Gareth G ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Row select mode to highlight active row of active cell | Excel Discussion (Misc queries) | |||
referring to formula in a non active cell from active cell | Excel Discussion (Misc queries) | |||
Is there a function to detect changes in any given cell? | Excel Worksheet Functions | |||
Need to detect cell shading | Excel Programming | |||
Need to detect cell shading | Excel Programming |