次の方法で共有


ChartObject Members (Excel)

Represents an embedded chart on a worksheet.

Methods

Name

Description

Activate

Makes the current chart the active chart.

BringToFront

Brings the object to the front of the z-order.

Copy

Copies the object to the Clipboard.

CopyPicture

Copies the selected object to the Clipboard as a picture.

Cut

Cuts the object to the Clipboard.

Delete

Deletes the object.

Duplicate

Duplicates the object and returns a reference to the new copy.

Select

Selects the object.

SendToBack

Sends the object to the back of the z-order.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

BottomRightCell

Returns a Range object that represents the cell that lies under the lower-right corner of the object. Read-only.

Chart

Returns a Chart object that represents the chart contained in the object. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Height

Returns or sets a Double value that represents the height, in points, of the object.

Index

Returns a Long value that represents the index number of the object within the collection of similar objects.

Left

Returns or sets a Double value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Locked

Returns or sets a Boolean value that indicates if the object is locked.

Name

Returns a String value representing the name of the object.

Parent

Returns the parent object for the specified object. Read-only.

Placement

Returns or sets a Variant value, containing an XlPlacement constant, that represents the way the object is attached to the cells below it.

PrintObject

True if the object will be printed when the document is printed. Read/write Boolean.

ProtectChartObject

True if the embedded chart frame cannot be moved, resized, or deleted through the user interface. Read/write Boolean.

RoundedCorners

True if the embedded chart has rounded corners. Read/write Boolean.

Shadow

Returns or sets a Boolean value that determines if the font is a shadow font or if the object has a shadow.

ShapeRange

Returns a ShapeRange object that represents the specified object or objects. Read-only.

Top

Returns or sets a Double value that represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

TopLeftCell

Returns a Range object that represents the cell that lies under the upper-left corner of the specified object. Read-only.

Visible

Returns or sets a Boolean value that determines whether the object is visible. Read/write.

Width

Returns or sets a Double value that represents the width, in points, of the object.

ZOrder

Returns the z-order position of the object. Read-only Long.