編輯

共用方式為


Names.Item(Object, Object, Object) Method

Definition

Returns a single Name object from a Names collection.

public Microsoft.Office.Interop.Excel.Name Item (object Index, object IndexLocal, object RefersTo);
Public Function Item (Optional Index As Object, Optional IndexLocal As Object, Optional RefersTo As Object) As Name

Parameters

Index
Object

Optional Object. The name or number of the defined name to be returned.

IndexLocal
Object

Optional Object. The name of the defined name in the language of the user. No names will be translated if you use this argument.

RefersTo
Object

Optional Object. What the name refers to. You use this argument to identify a name by what it refers to.

Returns

Remarks

You must specify one, and only one, of these three arguments.

Applies to