473,729 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running Excel on the Server

Dear All,

Would appreciate if someone can help me out on this.

I have an Excel Add-in which is only available on the web server.
The Add-in allows user to retrieve data from a proprietary database.

I have configured an Excel workbook to retrieve the data via the Add-in base
on some inputs that the user enter in some cells (B7 and B8) in sheet1.

As the clients do not have the Add-in I cannot just activate the Excel
spreadsheet when the user request for it over the web as the formulas will
not work.

I have written a macro in the Excel spreadsheet such that it will
recalculate and then make a static copy of itself.

I would like to know how I can pass the values from an asp page to cells B7
and B8 and then run the macro in the Excel and display the static copy for
the user.

Any suggestions are welcome.

Thanks a lot!

Newbie to ASP,
Sylvia

Jul 19 '05 #1
1 1767
changing the excel sheet should be easy enough with ASP ... just like
any other db connection ...

as far as running a macro there are threads in google about this ...

http://groups.google.com/groups?hl=e...r%3D%26hl%3Den

one for example

after the macro is done, reading the static excel page should be easy
enough.
On Thu, 8 Jan 2004 15:21:12 +0800, "Sylvia" <an***@nospam.c se.com.sg>
wrote:
Dear All,

Would appreciate if someone can help me out on this.

I have an Excel Add-in which is only available on the web server.
The Add-in allows user to retrieve data from a proprietary database.

I have configured an Excel workbook to retrieve the data via the Add-in base
on some inputs that the user enter in some cells (B7 and B8) in sheet1.

As the clients do not have the Add-in I cannot just activate the Excel
spreadsheet when the user request for it over the web as the formulas will
not work.

I have written a macro in the Excel spreadsheet such that it will
recalculate and then make a static copy of itself.

I would like to know how I can pass the values from an asp page to cells B7
and B8 and then run the macro in the Excel and display the static copy for
the user.

Any suggestions are welcome.

Thanks a lot!

Newbie to ASP,
Sylvia


Jul 19 '05 #2

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

Similar topics

8
25984
by: ChrisBowringGG | last post by:
When you use Application.Quit() on an Excel application, there can still be an instance of Excel running, as seen in Task Manager. You can try following the advice on MSDN: http://support.microsoft.com/kb/Q317109 but this didn't solve the problem for me.
0
1293
by: Nick Palmer | last post by:
Hi all, I've got what I think is a security/permission issue related to using the OWC 11 components on a Windows 2003 server running IIS 6.0. My web app has a client side Excel grid, and it also creates an server side OWC Excel component to do some formatting. This app all runs just fine and dandy on a Windows 2000 server. It also runs fine on a Windows 2003 server that has IIS set to run in IIS 5.0 isolation mode. But, when I try...
4
1896
by: Amjad | last post by:
I have a program that updates an Excel sheet everytime the user presses a button. However, each time it creates a new instance of the Excel.exe application running in the background. I tried closing my Excel object (oExcel) using the following: oExcel = Nothing oExcel.quit() Yet, I still can see an instance of Excel.exe in the
5
6581
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same (System.Runtime.InteropServices.Marshal.ReleaseComObject(exApplication)) to solve my problem but could not. Background : My app uses a WebBrowser control to display to the user the contents of an Excel spreadsheet.:
6
2122
by: Mat N | last post by:
Hello access friends, (Originally posted on access.formsprogramming which I think was the wrong place) I'm precalculating a bunch of data for my clients as per a profile I have for each of them. Each data set that I generate, I put into an separate Access file which I eventually move to a server location that the particular client and I share access to.
14
23165
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So, we're looking for a way to display the page with a "please wait..." message while the process is running, and then, when the process is done, update the page with the actual results/page content. We have a page that opens another browser/page...
0
1087
by: aliman | last post by:
Hi All, Coding in C#.Net 2.0 A requirement of my app is that certain functions should not be allowed to execute if excel is running. The app is used in terminal server sessions so checking if "excel.exe" is run by current username is not good enough. I need to determine if the session running my app, is also running excel.
3
2148
by: Cor Pruim | last post by:
I have a very strange problem. I have written a Windows Service with VS2003 in vb.net. This service does some calculations and after that it needs to produce some Excel reports by getting data from an Oracle database. This has been working fine for two years and it still is working fine in our production environment. But after installing a new test server the problems started. I did many tests but there is something strange. When I start the...
11
2010
by: John Sheppard | last post by:
Hello there, I am running a webservice on IIS6, sometimes it runs at a reasonable speed, sometimes it runs painfully slow and sometimes inbetween. The application that consumes the service is vb.dotnet and runs on a local area network. Does anyone have any ideas? Where should I start to look? What could be causing this? Thank you for any help or ideas
0
8917
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9281
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.