Posted on January 4, 2009
1
2
3
4
5
6
7
8
9
| 'Arrays, Collections, Lists - How to remove items from a Collection object
'You can remove items from a Collection object using the Remove method;
'this method accepts either a numeric index or a string key:
' Remove the Marketing Boss.
EmployeeNames.Remove "Marketing"
'If the key doesn't exist, the Collection object raises an error 5-"Invalid
'procedure call or argument." |