conception_native_0123
Well-known member
- Local time
- Yesterday, 23:39
- Joined
- Mar 13, 2021
- Messages
- 1,923
can someone here provide me example of this? i am trying to learn it, but only got this far using collection object
i would like to sort this collection using recursive function. can someone give me easy internet resource where i can learn? thank you.
Code:
Sub testing()
Dim coll As New Collection
Dim a As Long
Dim b As Long
Dim c As Long
Dim d As Long
Dim counter As Long
a = 3
b = 2
c = 1
d = 4
coll.Add (a)
coll.Add (b)
coll.Add (c)
coll.Add (d)
For counter = 1 To coll.Count
Debug.Print coll.Item(counter)
Next counter
End Sub