Remove Method
Description
Removes the specified column header from the collection.
Syntax
Public Sub Remove( _
ByVal [Index](#) As Variant _
)
Parameters
- Index: An integer or string that uniquely identifies the column header within the collection. Use an integer to specify the value of the Index property; use a string to specify the value of the Key property.
Remarks
When you remove a column header from the collection, the indexes change for subsequent column headers in the collection. All information about the removed column header is deleted. To remove all column headers from the collection, use the Clear method.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.