Hello FolksI’ve been trying to accomplish the following:
I declared a variant array ( Dim rooms (4) As Variant ) and saved another array into it. The array comes by like this:
Dim temp As Variant
temp = Split(doc.FieldXY(0), Chr(13))
Then i’ll get for each line in that FieldXY a new entry (temp(0) has got “value1”, temp(0) has got “value2” etc.)
The array ‘rooms’ that still is one dimensional, gets converted into a two dimensional array, when i save the temp array into the rooms array.
rooms(0) = temp
The array looks like:
rooms
–0
---- “value1”
---- “value2”
–1
–2
–3
–4
How can I print out the value1 and value2, if i don’t want to create an additional variable (z = rooms(0) // and accessing the 2nd dimension by z(0))?
Thanks in advance