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 12:12pm
zukazen405
Edited 5-May-12 19: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)

  Print Answers RSS
0 OriginalGriff 454
1 Maciej Los 404
2 CPallini 185
3 Sergey Alexandrovich Kryukov 182
4 Richard MacCutchan 120
0 OriginalGriff 5,634
1 Sergey Alexandrovich Kryukov 4,763
2 Peter Leow 2,954
3 Maciej Los 2,614
4 DamithSL 2,465


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