+ Reply to Thread
Results 1 to 3 of 3

Remove a variable in legend box - and revoke it again

  1. #1
    Forum Contributor
    Join Date
    08-22-2005
    Location
    Denmark
    MS-Off Ver
    Excel 365
    Posts
    349

    Remove a variable in legend box - and revoke it again

    I have a chart set up for 4 different variables, but sometimes my dataset has nothing in variable no. 4, so I remove it from the legend box. This can be done either by marking it in the box and pressing 'Delete' or with VBA, like e.g.:
    Please Login or Register  to view this content.
    The chart still has all four variables, but now only three are shown in the legend box

    If a new data set does contain data for entry no. 4, I of course want it back again in the legend box, but I can't find out how.


    best regards, NSV
    Last edited by nsv; 09-30-2013 at 03:30 PM. Reason: Adding solved tag

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Remove a variable in legend box - and revoke it again

    you will need to remove the entire legend and then reapply it. The is no undelete of legend entry removal.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    08-22-2005
    Location
    Denmark
    MS-Off Ver
    Excel 365
    Posts
    349

    Re: Remove a variable in legend box - and revoke it again

    OK Andy, thanks for the answer.

    NSV

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. need to remove #N/A from chart legend series
    By plabh in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-27-2013, 01:35 AM
  2. [SOLVED] Remove N/A legend items
    By Platinum3x in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-21-2013, 06:24 AM
  3. Remove legend if value is N/A
    By defy in forum Excel General
    Replies: 4
    Last Post: 01-04-2011, 08:39 PM
  4. Remove Legend Key?
    By COHokie in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 04-25-2008, 12:12 PM
  5. Remove Legend Series
    By GregBausman in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-01-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1