Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetViewCollection Dim index As String Dim value As SheetView instance.Item(index) = value value = instance.Item(index) |
Parameters
- index
Exception | Description |
---|---|
System.Exception | Specified sheet name is not found in the sheet collection. |
System.ArgumentNullException | Sheet name is not specified (that is, specified index is null or empty) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2