Hi all, I would like to import Area, Height and Width values from a csv file that has unique values for each cell into my datavyu opf file.
Example CSV: Area,Height,Width,Document 2679,75,48,499
The Document column denotes the cell number that I would like the data to be imported to. Area, Height and Width are the values for the cell, in this case the datavyu cell number 499 has an area of 2679, height of 75 and width of 48.
Current code looks something like this.
The ruby script runs successfully but does not populate the cells with the data in the csv. I think my error is either in my loop or in defining the csv array properly.
Any help would be greatly appreciated.
Can you make sure the are, height, width, and document values are read properly for the rows of the csv file? E.g. put this line of code:
I see that you commented out the line where you split the line into the area, width, height, etc. Did that not work?
answered 03 Jan, 14:54
Shohan Hasan ♦♦