DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Method: Item for Sheets

Method: Item for Sheets

Returns the Sheet object associated with a specific name or with a specific index.

Set oSheet = Object.Item(NameOrIndex)
ObjectSheets
Object with this method
NameOrIndexVariant
Specifies the name or the index of a worksheet.
oSheetSheet
Returned object

The following example accesses the first cell of the second worksheet:

Dim oCurrSheet, Name
Set oCurrSheet = Workbook.Sheets.Item(2)

Name = oCurrSheet.GetCellValue(1,1)
In This Section
Was this information helpful?