#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 25
Default Graph with 0%

is there a way, even with vba, to get graphs not to display 0%. I have pie
charts set on a table whose value are dynamic and in some instances they can
equeal 0. I need to stop the chart from displying 0% as a data label in
those instances only, but still display the others.

Thank you,

QB
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 235
Default Graph with 0%

Yes, Andy Pope has an example on his site . . .

http://www.andypope.info/charts/piezeros.htm

--
John Mansfield
cellmatrix.net


"Question Boy" wrote:

is there a way, even with vba, to get graphs not to display 0%. I have pie
charts set on a table whose value are dynamic and in some instances they can
equeal 0. I need to stop the chart from displying 0% as a data label in
those instances only, but still display the others.

Thank you,

QB

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 5
Default Graph with 0%

I use Excel 2003, so I hope this still applies. After you make your chart,
double click on the offending 0% label. The cursor should change to text.
Simply delete the text of the label.
"Question Boy" wrote:

is there a way, even with vba, to get graphs not to display 0%. I have pie
charts set on a table whose value are dynamic and in some instances they can
equeal 0. I need to stop the chart from displying 0% as a data label in
those instances only, but still display the others.

Thank you,

QB

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default Graph with 0%

BonsourĀ® "Question Boy" wrote:

is there a way, even with vba, to get graphs not to display 0%. I
have pie charts set on a table whose value are dynamic and in some
instances they can equeal 0. I need to stop the chart from
displying 0% as a data label in those instances only, but still
display the others.


Use personal format for data labels :

0%,,,
or
general,,,


by VBA
Selection.NumberFormat = "0%,,,"
or
Selection.NumberFormat = "general,,,"


--
--
@+
;o)))

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 do I graph data daily as a line graph across a calendar format Glani Charts and Charting in Excel 3 November 23rd 07 09:05 AM
How do I plot multiple series on one graph? - test-graph.xls (0/1) Leo Bueno Charts and Charting in Excel 1 August 2nd 07 12:49 PM
How do I plot multiple series on one graph? - test-graph.xls (1/1) Leo Bueno Charts and Charting in Excel 0 August 2nd 07 12:14 AM
Creating a graph similar to a stacked column graph Jonathan Charts and Charting in Excel 6 August 4th 06 04:23 PM
Hyperlinkage of one graph with another graph or Drill down graph Sanjay Kumar Singh Charts and Charting in Excel 1 January 3rd 06 12:22 PM


All times are GMT +1. The time now is 04:07 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"