+ Reply to Thread
Results 1 to 1 of 1

Excel VBA to hide zero/blank legends from DYNAMIC CHARTs

  1. #1
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Question Excel VBA to hide zero/blank legends from DYNAMIC CHARTs

    Hello All,
    This request is continuation of below post. After getting a wonderful solution, now i am looking to hide zero/blank legends from DYNAMIC CHART of sheet "Charts" . This chart gets updated based upon name chosen from cell 'D3' drop down and has different legend set to each name.
    https://www.excelforum.com/excel-for...ed-ranges.html

    The real difficulty, I think, with automating something like is not in deleting the legend entries, but in restoring the deleted legend entries. Microsoft did not provide a simple way to restore a legend entry once deleted. You essentially are forced to delete the legend entirely and then recreate the legend. So the first step in the procedure will be to remove the legend and recreate it.
    Do any excel experts has ready VBA code to achieve this..? Please please help me with the code, i have been struggling for this.

    Many Thanks
    Attached Files Attached Files

+ 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. Hide pie charts if chart is blank/empty?
    By mrbusto71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2019, 03:12 AM
  2. Hide legends with #N/A
    By Bandito1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-20-2019, 06:17 AM
  3. Formating Legends of charts with many series
    By TGILL89 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-11-2014, 04:33 PM
  4. [SOLVED] Any solution on scaling the charts legends ?
    By dagagnon in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-17-2012, 12:09 PM
  5. Dynamic charts in Excel
    By cbeck in forum Excel General
    Replies: 2
    Last Post: 08-03-2011, 09:45 AM
  6. Dynamic Charts on Excel
    By larbac in forum Excel General
    Replies: 2
    Last Post: 06-04-2010, 07:15 PM
  7. Hide Legends for blank series
    By nomeames in forum Excel General
    Replies: 3
    Last Post: 07-22-2009, 10:24 AM

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