共用方式為


ListColumn Members (Excel)

Represents a column in a table.

Methods

Name

Description

Delete

Deletes the column of data in the list.

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.

Creator

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

DataBodyRange

Returns a Range object that is the size of the data portion of a column. Read-only.

Index

Returns a Long value that represents the index number of the ListColumn object within the ListColumns collection.

Name

Returns or sets a String value that represents the name of the list column.

Parent

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

Range

Returns a Range object that represents the range to which the specified list object in the above list applies.

Total

Returns the Total row for a ListColumn object. Read-only.

TotalsCalculation

Determines the type of calculation in the Totals row of the list column based on the value of the XlTotalsCalculation enumeration. Read/write.

XPath

Returns an XPath object that represents the Xpath of the element mapped to the specified Range object. The context of the range determines whether or not the action succeeds or returns an empty object. Read-only.