Hi all,
I have a class module with several private variables, including one that is an array of a user-defined type. I am trying to set the values of a single element of this array with "Property Let ..." from a string array:
In my test code, I set all of the string array variables, and try to set it using:![]()
Please Login or Register to view this content.
And get the following error message:![]()
Please Login or Register to view this content.
"Compile error: Can't assign to array"
Is there a way to set the values in the user-defined type this way? I could do it by creating a temporary variable of the User-defined type and then there is no problem, but this is used by a lot of very old code as well that gives the needed values as an array.
Thanks in advance
Bookmarks