I'm sure I'm just missing something here but is there a way to nest
objects inside an object or a collection that functions like an object
with properties BESIDES creating whole classes or making public
variables?
Private Sub Click()
Dim x as SomeSortOfColle ction
msg box(x.Name & " " & x.Phone)
End Sub
Private Function Person() as SomeSortOfColle ction
Dim Name as String= "John"
Dim Phone as String = "888-888-8888"
Person.Add(Name )
Person.Add(Phon e)
End Function
What I'm not looking for:
Anything using a for each method
Using a key value like SomeObject("Nam e").value
objects inside an object or a collection that functions like an object
with properties BESIDES creating whole classes or making public
variables?
Private Sub Click()
Dim x as SomeSortOfColle ction
msg box(x.Name & " " & x.Phone)
End Sub
Private Function Person() as SomeSortOfColle ction
Dim Name as String= "John"
Dim Phone as String = "888-888-8888"
Person.Add(Name )
Person.Add(Phon e)
End Function
What I'm not looking for:
Anything using a for each method
Using a key value like SomeObject("Nam e").value
Comment