Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Coolboy55
 
Posts: n/a
Default Sort Legend Entries


Is there a way to sort the legend entries using VBA?
.Legend.LegendEntries does not seem to have any sorting properties. I
want them alphabetically sorted from top to bottom. Possible?


--
Coolboy55
------------------------------------------------------------------------
Coolboy55's Profile: http://www.excelforum.com/member.php...o&userid=26508
View this thread: http://www.excelforum.com/showthread...hreadid=399498

  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

Legend Entries are sortable only to the extent that you can change the order of the
series within the chart. If all series are the same type (i.e., line or column) and
on the same axis (primary), and if the series are not stacked, you can do this by
changing the series plot order; double click any series, and on the series order
tab, rearrange the series as required.

You will find that different series types in a combination chart only sort within
their group, but area series for example always plot first, and XY series always
plot last, and other types line up according to type.

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


Coolboy55 wrote:

Is there a way to sort the legend entries using VBA?
.Legend.LegendEntries does not seem to have any sorting properties. I
want them alphabetically sorted from top to bottom. Possible?



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
Chart Legend Entries BillCPA Excel Discussion (Misc queries) 1 July 27th 05 11:32 PM
Specifying Legend Entries Joey Chart User Charts and Charting in Excel 1 June 23rd 05 12:34 AM
sort a list/remove additional entries Glowinafuse Excel Worksheet Functions 5 May 23rd 05 10:32 PM
I have 36 legend entries but only need the ones actualy graphed Simon Charts and Charting in Excel 4 April 27th 05 11:37 PM
How do I change the order of the legend entries? Kerrin Charts and Charting in Excel 1 January 10th 05 11:03 PM


All times are GMT +1. The time now is 01:12 PM.

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

About Us

"It's about Microsoft Excel"