Macro to Remove 0% Labels from a Pie Chart (142132)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0c
- Microsoft Excel for the Macintosh 5.0a
This article was previously published under Q142132 SUMMARY
Microsoft Excel creates 0% labels when a pie chart has data that includes
blanks or the value 0 (zero). These labels can overlap other labels, making
it difficult to read the chart. You can manually delete these labels one at
a time. However, when your data changes, Microsoft Excel puts the labels
back. This article contains a sample Microsoft Visual Basic for
Applications macro (Sub procedure) to remove the labels automatically.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbProgramming KB142132 |
---|
|