473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Excel Functions in .Net

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.
Nov 17 '05 #1
3 2184
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...
"Clive" <cl***@nospam.com> wrote in message
news:03****************************@phx.gbl...
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.

Nov 17 '05 #2
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.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"abacnet" <ab*****@hotmail.com> wrote in message
news:e%***************@TK2MSFTNGP12.phx.gbl...
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...
"Clive" <cl***@nospam.com> wrote in message
news:03****************************@phx.gbl...
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.


Nov 17 '05 #3
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.

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:uA**************@TK2MSFTNGP12.phx.gbl...
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.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"abacnet" <ab*****@hotmail.com> wrote in message
news:e%***************@TK2MSFTNGP12.phx.gbl...
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...
"Clive" <cl***@nospam.com> wrote in message
news:03****************************@phx.gbl...
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.



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
1
by: v_verno | last post by:
Good day, I have a web page that shows info retrieved from a MySQL db and I would like to convert all these data into an .XLS file. Have searched the net high and low but seems that I'm unable to...
3
by: info | last post by:
After using clipboard functions in Excel controlled from Access VBA, Excel doesn't quit when I use the following ExcelApp.Quit Set ExcelApp = Nothing If I don't use the clipboard functions in...
1
by: | last post by:
Hi all, I have some statictcle functions in C#, I am making some Excel templates, they are xls files. How to make my template using these functions? Before these functions are in Excel VB so...
1
by: Dartish | last post by:
Hi all, Thanks in advance for the help I have a DLL that which has several functions that I can call in Excel. I am thinking of how to call these functions in a .net project (authored in C#)....
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
6
by: Duncan Smith | last post by:
Hello, I am currently implementing (mainly in Python) 'models' that come to me as Excel spreadsheets, with little additional information. I am expected to use these models in a web application. ...
0
NeoPa
by: NeoPa | last post by:
Many of us have noticed that there are some very useful functions available to you when using Excel, but these same functions are not available, as standard, in Access. A particular issue I had...
5
ADezii
by: ADezii | last post by:
Periodically, the same or similar question appears in our Access Forum: How can I use Excel Functions within Access? For this reason, I decided to make this Subject TheScripts Tip of the Week. In...
18
by: Dirk Hagemann | last post by:
Hello, From a zone-file of a Microsoft Active Directory integrated DNS server I get the date/time of the dynamic update entries in a format, which is as far as I know the hours since january 1st...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.