Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
riichiee
Jul 5, 2007
What's the best way to interact with Excel using Visual Basic Studio 2010?

I've got a bunch of tables that I need to process, each with around 5000 rows and they've all got roughly the same column layout. I want to grab a couple of values from one row, check it against some other external text files, then put a value into a column at the end of that row. Then move onto the next row and do the same.

I've looked at LINQ to XML, LINQ to SQL, ADO.net, and the Excel-interop. LINQ seems only good for reading (not writing) and ADO.net seems slow when opening the table.I've only really taken a quick look at this so far, so these first thoughts might be wrong.

Any input would be appreciated.

Adbot
ADBOT LOVES YOU

riichiee
Jul 5, 2007
Thanks, I forgot to mention that we are using Express Edition.

I've heard VSTO being mentioned on some sites, is this worth the upgrade?

riichiee
Jul 5, 2007

crashdome posted:

... DNP Excel File ...

Cheers, thanks crashdome. Looks like we're working with similar types of files. I'll give this a shot.


Xarb posted:

I have used the EPPlus library to create Excel files from my data:

Thanks, I've had a look into this as well.

  • Locked thread