0
Good Afternoon!
Can anyone help with that code.
I am trying to record a macro that when I click on the graph data series, it opens the cases in a new tab (How does show detail)
When saving the code the recorded lines are these:
Sub Macro2()
ActiveSheet.ChartObjects("Gráfico 6").Activate
ActiveChart.FullSeriesCollection(1).Select
ActiveChart.FullSeriesCollection(1).Points(1).Select
Selection.ShowDetail = True
End Sub
Only when I debug the code or even run straight, is selected the line "Selection.Showdetail = True" and appears the following message: Runtime error '438'
The object does not accept this priority or method
Can anyone help us? Thank you
Hi Andrea, thanks for the return. I followed your guidance and it didn’t work! The chart already corresponded to a dynamic table, but I made a base test 1) by selecting the Base cases, selecting the Insert Menu, dynamic graph, choosing dynamic graph, moving the dynamics created to another tab and graph to another tab, recorded the same macro and did not work 2) selecting the Base cases, selecting the Insert Menu, dynamic graph, choosing dynamic graph and dynamic table, moving the dynamics created to another tab and chart to another tab, recorded the same macro and did not give
– thiago teles