Remove Method
Description
This method removes or deletes the Section object identified by the NameOrNum parameter.
Syntax
Visual Basic |
---|
Public Function Remove( _ ByVal NameOrNumber As Variant _ ) As Boolean |
Parameters
- NameOrNumber
- Required Variant that indicates which Section object to remove. It can be either a Long or a String. If it is a Long, it is the index number of the Section object in the Sections collection. If it is a String, it is the ID, or name, of the Section object.
Return Type
Boolean value that determines whether or not the specified section was removed. If True then the section was removed. If False then the section either remained or didn't exist in the first place.
See Also