Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Show button depending on chart state


Hello, I´ve created a button to trigger a macro for a specific chart. Now I want that button only to be displayed when that chart has the status "normal", and the button should be hidden when the chart is minimized. Is there any function for using the objekt (chart) status?

//Johan

3 Replies
Not applicable
Author

What do you mean by status is normal?. Is this a value in your dimension? What does the macro exactly do for the specific chart?

Anonymous
Not applicable
Author

The macro exports the chart to excel and performs some calculations in excel.

With status "normal" I mean that it´s opened (not minimized, not maximized, just displayed in normal size). Condition might be a better word than status.

//Johan

maxgro
MVP
MVP

just an idea: you can put the chart and the button in a container (or two container one inside the other)

in that way you can only see the button when you see the chart (container maximized)

see attachment

I used the inner container to give the right dimension to the button