Hello,
I'm trying to combine results of multiple files into one struct.
Said struct should be named the following name:
result.[FileName1].Result1ofFile1result.[FileName1].Result2ofFile1result.[FileName2].Result1ofFile2...result.[FileNameX].ResultYofFileX
I save the file names in an String array. Thus
FileName(1) = "abc1"FileName(2) = "abc2"...
and so on.
Unfortunately I can't figure out how to make it work.
How can I use the String stored in an array as a variable name?
At the end it should look like this, without the need of typing in the abc-Names myself:
result.abc1.Result1ofFile1result.abc2.Result1ofFile2
Best Answer