justplainsoccer
Newcomer
- Joined
- Dec 3, 2003
- Messages
- 14
how would i go about setting a collection equal to another collection. for example, i pass a parameter into a sub, then use a select case to set a general collection equal to a specific collection. make sense? probably not. heres what ive got so far.
(collectionOb is public)
Visual Basic:
Private Sub NameCollection(ByVal Which As Short)
'gives the generic object 'collectionOb' a specific value depending on the selected tab
Select Case Which
Case 1
collectionOb = keyCol
Case 2
collectionOb = accCol
Case 3
collectionOb = denyCol
End Select
End Sub
(collectionOb is public)