Hi, I have grouped an ActiveX text box with Excel's box and whiskers chart. I want the text box to update as the data table is filtered. First, I used the Linked Cell -function but it doesn't update the text box when I run my macro. It sorta "reacts" slowly, in a sense that the value of text box SHOULD be 'Chart 1', 'Chart 2', 'Chart 3' etc. But now it goes 'Chart 1', 'Chart 1', Chart 2'...
Then I removed the Linked Cell and added this to my code:
wsChart.OLEObjects("TextBox1").Object.Value = "Chart name"
I have to add this line after every filtering. However, this too only works when I run my macro step by step with F8. When I run my macro as a whole, the text box only applies the first filter value and it does not update as the data table is filtered.
The box and whiskers chart is really annoying because I also have a scatter chart and I have no problem with it but with box&whiskers there seems to always be some issue with it!
Then I removed the Linked Cell and added this to my code:
wsChart.OLEObjects("TextBox1").Object.Value = "Chart name"
I have to add this line after every filtering. However, this too only works when I run my macro step by step with F8. When I run my macro as a whole, the text box only applies the first filter value and it does not update as the data table is filtered.
The box and whiskers chart is really annoying because I also have a scatter chart and I have no problem with it but with box&whiskers there seems to always be some issue with it!