Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 72
Default Hide and unhide a serie

I have a line graph with 4 series. Depending on the selection made, I would
like to hide or unhide 1 or 2 series using macro. Is it possible? I tried
manually and it always delete the entire serie rather than hiding it.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Hide and unhide a serie

This way doesn't use macros, just some simple checkboxes:

http://peltiertech.com/Excel/Charts/ChartByControl.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"matelot" wrote in message
...
I have a line graph with 4 series. Depending on the selection made, I would
like to hide or unhide 1 or 2 series using macro. Is it possible? I tried
manually and it always delete the entire serie rather than hiding it.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 72
Default Hide and unhide a serie

That's great. However, the legend on the side always show the 3 series.
Anyway to remove the unchecked serie?

"Jon Peltier" wrote:

This way doesn't use macros, just some simple checkboxes:

http://peltiertech.com/Excel/Charts/ChartByControl.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"matelot" wrote in message
...
I have a line graph with 4 series. Depending on the selection made, I would
like to hide or unhide 1 or 2 series using macro. Is it possible? I tried
manually and it always delete the entire serie rather than hiding it.

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Hide and unhide a serie

There's no codeless dynamic way to remove these legend entries. You could
rely on a data label on (for example) the last point of each series. In a
line or XY chart, if the point is based on a blank cell or a #N/A value, it
will not plot and you will not get a data label. In a column or other chart
type, the points are still there, represented by zero values, but if you use
a dynamic named range for the series name, and point it at a blank cell, the
label will be there but will not display any text.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"matelot" wrote in message
...
That's great. However, the legend on the side always show the 3 series.
Anyway to remove the unchecked serie?

"Jon Peltier" wrote:

This way doesn't use macros, just some simple checkboxes:

http://peltiertech.com/Excel/Charts/ChartByControl.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"matelot" wrote in message
...
I have a line graph with 4 series. Depending on the selection made, I
would
like to hide or unhide 1 or 2 series using macro. Is it possible? I
tried
manually and it always delete the entire serie rather than hiding it.

Thanks






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hide/unhide brownti Excel Discussion (Misc queries) 3 February 6th 07 07:14 PM
Hide/Unhide Buttons kdog Excel Discussion (Misc queries) 2 October 12th 06 07:38 PM
Hide Unhide Colin Excel Discussion (Misc queries) 4 April 9th 06 05:01 PM
Hide/unhide Jock W Excel Worksheet Functions 4 October 4th 05 05:02 PM
Hide and unhide Marcel Excel Discussion (Misc queries) 1 March 10th 05 11:50 PM


All times are GMT +1. The time now is 06:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"