Stephenf_07
New Member
- Joined
- Apr 19, 2011
- Messages
- 8
Hello,
I currently have a line graph that display 9 different categories in the legend over a period of 3 weeks. With 9 different lines going on at once in the graph, it can be tricky to view as the graph is not very big. I have inserted 9 different checkbox forms next to the graph with my categories next to it. Is there a way that I can assign a Macro to the checkbox that basically states when the box is checked, the line is displayed in the graph and when the box is not checked, the data is not displayed? This way someone who is not user friendly using the graph could easily just check the box's of only the categories they would like to display on the graph.
I am using Excel 2010. The line graph is just a standard 2D graph.
Legend:
Category 1
Category 2
Category 3
Category 4
Category 5
Category 6
Category 7
Category 8
Category 9
Y Axis:
1
2
3
4
5
X Axis:
Week 1
Week 2
Week 3
EX.) Checking the checkbox next to Category 5 will only display 1 line on the graph.
Hope this makes sense! Thanks in advance for any help!
I currently have a line graph that display 9 different categories in the legend over a period of 3 weeks. With 9 different lines going on at once in the graph, it can be tricky to view as the graph is not very big. I have inserted 9 different checkbox forms next to the graph with my categories next to it. Is there a way that I can assign a Macro to the checkbox that basically states when the box is checked, the line is displayed in the graph and when the box is not checked, the data is not displayed? This way someone who is not user friendly using the graph could easily just check the box's of only the categories they would like to display on the graph.
I am using Excel 2010. The line graph is just a standard 2D graph.
Legend:
Category 1
Category 2
Category 3
Category 4
Category 5
Category 6
Category 7
Category 8
Category 9
Y Axis:
1
2
3
4
5
X Axis:
Week 1
Week 2
Week 3
EX.) Checking the checkbox next to Category 5 will only display 1 line on the graph.
Hope this makes sense! Thanks in advance for any help!