Link to home
Create AccountLog in
Avatar of Colin
ColinFlag for United States of America

asked on

Create a predefined Arraylist of values and then pass the values off to a class routine.

I am trying to create an array of values "Array1" that I want to get passed into a class below.

  Private Sub PopulateOMRONValues()
        RetrieveOMRONvalues()
        newRuntimeClass.Values(Obj)
    End Sub
    Public Obj As New ArrayList
    Public array1 As ArrayList ({1, 2, 3, 4, 5, 6, 7, 8, 9})
    Private Sub RetrieveOMRONvalues()
             obj = array1
      End Sub

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer