Excel Functions in .Net

C

Clive

Hi,

I am developing a app that does soem calculations,
rounding etc.

Does anyone know if I can use an Excel Library in .Net in
order to leverage the functions in MS Excel?

Thanks,
Clive.
 
A

abacnet

Yes you can, just add the reference to Excel from the COM tab.
Imports Excel

Dim e As New Excel.Application()
Dim r As Excel.Range
Dim ws As Excel.Worksheet
Dim c As Excel.Chart
etc...
 
S

Steve C. Orr, MCSD

Just keep in mind that this is not very scalable.
Excel wasn't designed to be a server component.
The threading model is designed for a single user desktop environment.
 
A

abacnet

I usually use it only to extract data from my desktop. And you are right
it's very heavy on my machine (I am the only user). And if ever I put a
breakpoint on an Excel object then it means I want my PC to FREEZE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top