I am very new to c# although i control all the basics. I essentially have a byte [] for the y-axis of an accelerometer (up/down) which I called Y[]. I need one line of code to export this to an excel file (I work with Office professional 2003). I would like value Y[0] to be written to cell A1, Y[1] to A2, and so on ( so just one column of data. The purpose of this is to be able to use excel to manipulate the data more easily and be able to plot it. I know there are plotting apps for c# like zed graph but i preffer excel.
I have looked far and wide and havent found anything to help me. All i need to do is create an excel (.xls) file, write on it, save it and close it. But how? Do you use FileStream? or what? please if you understand my problem give me the one or two lines of code i need. I'm so close to finishing this little project!!!
Thanks a lot guys.