Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.42 KB

Access.Entities.Item.md

File metadata and controls

48 lines (30 loc) · 1.42 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Entities.Item property (Access)
vbaac10.chm14562
vbaac10.chm14562
Access.Entities.Item
6e8e9b66-35c9-d436-6391-df424ad0f66f
03/06/2019
medium

Entities.Item property (Access)

The Item property returns a specific member of a collection either by position or by index. Read-only Object.

Syntax

expression.Item (Index)

expression A variable that represents an Entities object.

Parameters

Name Required/Optional Data type Description
Index Required Variant An expression that specifies the position of a member of the collection referred to by the expression argument.

If a numeric expression, the Index argument must be a number from 0 to the value of the collection's Count property minus 1.

If a string expression, the Index argument must be the name of a member of the collection.

Remarks

If the value provided for the Index argument doesn't match any existing member of the collection, an error occurs.

The Item property is the default member of a collection, so you don't have to specify it explicitly. For example, the following two lines of code are equivalent.

Debug.Print Modules(0)
Debug.Print Modules.Item(0)

[!includeSupport and feedback]