Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
RickSubber
 
Posts: n/a
Default labels for bubble charts

I have successfully used the macro described in KB213750 to create labels for
my bubble charts.
Is there a macro to REMOVE these labels from a bubble chart.......that is, a
macro to undo the label macro?
Thanks
Rick
  #2   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default labels for bubble charts

Do you need a macro? You can just click on a label and press Delete.

To remove data labels from an active chart:

Sub DeleteLabels()
Dim srs As Series

If Not ActiveChart Is Nothing Then
With ActiveChart
For Each srs In .SeriesCollection
If srs.HasDataLabels Then
srs.DataLabels.Delete
End If
Next
End With
Else
MsgBox "Select a chart and try again.", vbExclamation, "No Chart
Selected"
End If
End Sub

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


"RickSubber" wrote in message
...
I have successfully used the macro described in KB213750 to create labels
for
my bubble charts.
Is there a macro to REMOVE these labels from a bubble chart.......that is,
a
macro to undo the label macro?
Thanks
Rick



  #3   Report Post  
Posted to microsoft.public.excel.charting
RickSubber
 
Posts: n/a
Default labels for bubble charts

Jon, thanks much, you're a genius, this works just fine!..........rick



"Jon Peltier" wrote:

Do you need a macro? You can just click on a label and press Delete.

To remove data labels from an active chart:

Sub DeleteLabels()
Dim srs As Series

If Not ActiveChart Is Nothing Then
With ActiveChart
For Each srs In .SeriesCollection
If srs.HasDataLabels Then
srs.DataLabels.Delete
End If
Next
End With
Else
MsgBox "Select a chart and try again.", vbExclamation, "No Chart
Selected"
End If
End Sub

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


"RickSubber" wrote in message
...
I have successfully used the macro described in KB213750 to create labels
for
my bubble charts.
Is there a macro to REMOVE these labels from a bubble chart.......that is,
a
macro to undo the label macro?
Thanks
Rick




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
Charts - Align value & category data labels independently Stuart Bratesman Charts and Charting in Excel 1 February 2nd 06 06:20 PM
XL Charts: Let my mouse drag all data labels for a whole series. Stuart Bratesman Charts and Charting in Excel 1 August 10th 05 04:21 PM
Excel charts should let me select a range for data labels. Relmbo Charts and Charting in Excel 3 June 26th 05 02:33 PM
Charts' titles and labels - Font size Myriam Charts and Charting in Excel 0 April 1st 05 06:43 AM
Can I add values, labels and percentage for pie charts? coops-eng Charts and Charting in Excel 1 February 1st 05 04:23 PM


All times are GMT +1. The time now is 06:58 AM.

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

About Us

"It's about Microsoft Excel"