This may seem like a silly question, but I'm going to break free.
I have a Sub in which I want to parse an array and assign it to a module of the "Object" class.
How can i do this.
I have something that does not work:
Private matrix(9,9) As Integer 'The Setter Sub Public Sub SetMatrixArray(arrValToSet() as Integer) matrix = arrValToSet End Sub 'In the caller module / class module I have the following code to parse the array. Dim theArray(9,9) As Integer Dim customObj as CustomObject customObj.SetMatrixArray(theArray)
The following error message appears:
Type mismatch: an array or user type is expected.
source share