Click here to Skip to main content
11,922,788 members (51,625 online)
Rate this:
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
Edited 5-May-12 20:38pm

1 solution

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

Solution 1

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151125.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