Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
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
Posted to microsoft.public.excel.charting
|
|||
|
|||
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
Posted to microsoft.public.excel.charting
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Charts - Align value & category data labels independently | Charts and Charting in Excel | |||
XL Charts: Let my mouse drag all data labels for a whole series. | Charts and Charting in Excel | |||
Excel charts should let me select a range for data labels. | Charts and Charting in Excel | |||
Charts' titles and labels - Font size | Charts and Charting in Excel | |||
Can I add values, labels and percentage for pie charts? | Charts and Charting in Excel |