Series.BubbleSizes property (PowerPoint)
Returns or sets a string that refers to the worksheet cells that contain the x-value, y-value, and size data for the bubble chart. Read/write Variant.
Syntax
expression.BubbleSizes
expression A variable that represents a 'Series' object.
Remarks
When you return the cell reference, it will return a string that describes the cells in A1-style notation. To set the size data for the bubble chart, you must use R1C1-style notation.
Note
This property applies only to bubble charts.
Example
Note
Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
The following example displays the cell reference for the cells that contain the bubble chart x-value, y-value, and size data for the first chart in the active document.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
MsgBox .Chart.SeriesCollection(1).BubbleSizes
End If
End With
Note
Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
This example shows how to set this property using R1C1-style notation.
With ActiveDocument.InlineShapes(3)
If .HasChart Then
.Chart.SeriesCollection(1). _
BubbleSizes = "Sheet1!r2c3:r5c3"
End If
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.