Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So here's the situation, i'm currently trying to implement excel in my program so it can put the data generated by my program into a table format. At one point, i have to do a loop which will write the data in a column on excel, although i find myself not skilled enough to get the right syntax...

i started that way :
C#
Excel.Worksheet xdata;
y = 2 * x; 

for(x = 0; x < 10; x++)
{
     // i want to fill the first column of data that is  
     // provided by the function y in excel...
     {


i know it's something xdata.cells. something etc etc... but i can't seem to find the right syntax :(

A help would be greatly appreciated
A BIG thanks in advance.
Posted
Updated 5-May-12 19:38pm
v3

1 solution

 
Share this answer
 
Comments
VJ Reddy 6-May-12 0:43am    
Good suggestion. 5!
Mohammad A Rahman 6-May-12 0:49am    
Thank you VJ :)
Uday P.Singh 6-May-12 2:31am    
nice links 5!
Mohammad A Rahman 6-May-12 4:22am    
Thanks Uday.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900