Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 :
 
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 Frown | :(
 
A help would be greatly appreciated
A BIG thanks in advance.
Posted 5-May-12 13:12pm
zukazen355
Edited 5-May-12 20:38pm
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
VJ Reddy at 6-May-12 0:43am
   
Good suggestion. 5!
Mohammad A Rahman at 6-May-12 0:49am
   
Thank you VJ :)
Uday P.Singh at 6-May-12 2:31am
   
nice links 5!
Mohammad A Rahman at 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)



Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 6 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100