ServerViewableItems.Delete Method
Deletes a reference to an object in the ServerViewableItems collection in the _Workbook.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub Delete ( _
Index As Object _
)
'Usage
Dim instance As ServerViewableItems
Dim Index As Object
instance.Delete(Index)
void Delete(
Object Index
)
Parameters
Index
Type: System.ObjectRequired Integer The index of the object you want to delete.
Remarks
If you do not want a particular object to be viewable in Excel Services, use this method to remove that object.