I have a file that takes the data from a row and puts it into a chart, if you select a different row you get a different chart.
This works well in Excel 2007, we are changing to 2016 and the code is not working.
I have looked through many posts but can't get the answer that works.
I have tried
...does not help.
This is what I use:
Code
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Row > 2 And ActiveCell.Row < 500 Then _
ActiveSheet.Calculate
End Sub
Any suggestions?