Hello,
does somebody knows if it is possible to include a dynamic variable in the Split function Expression?
I'll make an example.
I have two strings:
C1 = "A_B_C_D_"
C2 = "1_2_3_4_"
Instead of using twice the Split function like:
myArray1 = Split(C1, "_")
myArray2 = Split(C2, "_")
I would like to create a loop like:
For j = 1 to 2
For i = 1 to 4
myString = "C" & j
myArray(j, i) = Split(myString, "_")
Next
This would allow me to fill a bidimensional array within a loop.
I've tried to do it as simply shown in the example but the Split function read C1 as a string instead of reading its value (C1 = "A_B_C_D_").
Thank you
Bookmarks