次の方法で共有


Series.BubbleSizes Property (Word)

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.

Version Information

Version Added: Word 2007

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

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

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

Concepts

Series Object

Series Object Members