Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default recreate a deleted LegendEntry

If an individual LegenEntry has been deleted from an xy chart, is
there a way to bring it back again?

I am finding that the entire legend has to be re-created from
scratch. Whereas I'd like to just undelete the one absent
LegendEntry.

Thanks,

Brian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default recreate a deleted LegendEntry

On Mar 18, 12:36 pm, xlrotor wrote:
If an individual LegenEntry has been deleted from an xy chart, is
there a way to bring it back again?

I am finding that the entire legend has to be re-created from
scratch. Whereas I'd like to just undelete the one absent
LegendEntry.

Thanks,

Brian


Hello Brian,

Unfortunately, it is the only way to do it. Here is an excerpt from
the VBA Help files...
__________________________________________________ _________________________________________________

Remarks
There's no direct way to return the series or trendline corresponding
to the legend entry.

After legend entries have been deleted, the only way to restore them
is to remove and recreate the legend that contained them by setting
the HasLegend property for the chart to False and then back to True.
__________________________________________________ _________________________________________________

Sincerely,
Leith Ross
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default recreate a deleted LegendEntry

Thank you for pointing that out, Leith.

I completely missed that "remarks" section in the excel help file for
the LegendEntry object.

Brian
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
How to delete a specific LegendEntry? Intuitive Analyst Charts and Charting in Excel 4 January 29th 08 03:21 PM
Recreate Data Validation Jonathan Excel Programming 0 January 30th 07 01:51 AM
Recreate AutoScroll Soli3d Excel Programming 0 April 20th 05 04:33 PM
Can't recreate A Macro JMay Excel Programming 8 April 10th 04 10:10 PM
Recreate a macro menu sdyman Excel Programming 2 February 20th 04 09:09 PM


All times are GMT +1. The time now is 02:24 AM.

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

About Us

"It's about Microsoft Excel"