Programatically dump double list content to excel file

Jan 12 2015 5:30 AM

Hello,

I hope you can help me out. My problem is that I don't know how to programatically dump the information of a list to an existent excel file.I have a list (double) as a part of a large code which fills and clears the list programatically. What I want to do is to dump the content of the list to an excel file before the list is cleared. The excel file is already in place (no need to create one). The list looks like this:

?List A

Count = n

[0]: {double[3]}
[1]: {double[3]}
[2]: {double[3]}

[n]: {double[3]}

 
And the final excel should look like this (including the words Start and End in column A):
 
 

    A        B    C

    Start                     //List1 is copied below

    15     18   0                    

    20     40   50

    12     15   16

    End                       //List1 is cleared

    Start      

    7      90   16            //List1 is copied below

    20     15   50

    12     15   8

    End                       //List1 is cleared

 

Can someone help me on this please?

Thank you!!


Answers (1)