Hello Forum,
I'm struggling to design a reasonable way that will turn two dimensional data into a hard-coded two dimensional array. The data is a long list that looks like the following (each comma here is a new column and each carriage return is a new row):
33.03349 , [M+H]+ , CH3OH , Methanol, Acetonitrile / solvent
42.03383, [M+H]+, CH3CN, ACN, Acetonitrile / solvent
.....
The idea is to take the data in the sheet, convert it in some reasonable way (concatenation maybe...) and then enter the data into the array similar to the following:
pcon(0,0) = 33.03349
pcon(0,1) = [M+H]+
pcon(0,2) = CH3OH
pcon(0,3) = Methanol
pcon(0,4) = Acetonitrile / solvent
pcon(1,0) = 42.03383
pcon(1,1) = [M+H]+
pcon(1,2) = CH3CN
pcon(1,3) = ACN
pcon(1,4) = Acetonitrile / solvent
....
Is there an intelligent way to iterate this or loop through it?
I started down this road:
Bookmarks