473,386 Members | 1,753 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,386 software developers and data experts.

How do I read an excel file to display the worksheet on the web.

How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmatically
manipulate the excel file via the web browser.

Thanks in advance.

What I 'd like to do is to create a link like shown below.

-Link1
-Link2
-Link3

If Link1 is clicked. the worksheet #1 of excel file must be shown on web browser.
Then Link2 is clicked. the worksheet #2 of excel file must be shown on web browser.

Could that be possible??
Nov 17 '05 #1
10 2501
"sarunnio" <sa******@gmail.com> wrote in message
news:5b**************************@posting.google.c om...
How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmatically
manipulate the excel file via the web browser.


Yes you can, though this approach is not recommended because of the massive
overhead it creates.

A much better solution, though not free, would be to use one of the 3rd
party utilities which can work with MS-Office files without having to
instantiate Office first.

I use this suite: http://www.aspose.com/
Nov 17 '05 #2
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not need
to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"sarunnio" <sa******@gmail.com> wrote in message
news:5b**************************@posting.google.c om...
How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmatically
manipulate the excel file via the web browser.

Thanks in advance.

What I 'd like to do is to create a link like shown below.

-Link1
-Link2
-Link3

If Link1 is clicked. the worksheet #1 of excel file must be shown on web
browser.
Then Link2 is clicked. the worksheet #2 of excel file must be shown on web
browser.

Could that be possible??

Nov 17 '05 #3
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:eS**************@TK2MSFTNGP10.phx.gbl...
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not
need to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.


That's interesting... When you say "That way, you do not need to automate
EXCEL and therefore you will not need to have it installed on the machine
from where this would run", are you talking about the client or server?
Nov 17 '05 #4
That would be the server, or actually neither server nor client, for that
matter.

The workbook is loaded and rendered to HTML.
So all the client will need is a browser.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:eX**************@tk2msftngp13.phx.gbl...
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:eS**************@TK2MSFTNGP10.phx.gbl...
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not
need to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.


That's interesting... When you say "That way, you do not need to automate
EXCEL and therefore you will not need to have it installed on the machine
from where this would run", are you talking about the client or server?

Nov 17 '05 #5
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
The workbook is loaded and rendered to HTML.


I'd be really interested in seeing how you do that without instantiating
Excel on the webserver...
Nov 17 '05 #6
Hmm did i just say i use the OLE interface.
If you know what that is, you should have no problems understanding how i do
it.

But you seem not therefore you may download the sources and see for
yourself.
But if you want to start using it i would like to know that.
http://dennis.oslokb.no/OkbExcelReader_DEBUG.zip

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
The workbook is loaded and rendered to HTML.


I'd be really interested in seeing how you do that without instantiating
Excel on the webserver...

Nov 17 '05 #7
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:ef**************@TK2MSFTNGP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the link
anyway.
Nov 17 '05 #8
A misunderstanding. Sorry.

Hope you like the little component.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:uF**************@TK2MSFTNGP14.phx.gbl...
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:ef**************@TK2MSFTNGP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the
link anyway.

Nov 17 '05 #9
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:ef**************@TK2MSFTNGP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the link
anyway.
Nov 17 '05 #10
A misunderstanding. Sorry.

Hope you like the little component.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:uF**************@TK2MSFTNGP14.phx.gbl...
"Dennis Myrén" <de****@oslokb.no> wrote in message
news:ef**************@TK2MSFTNGP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the
link anyway.

Nov 17 '05 #11

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...
0
by: Peter | last post by:
I am having a problem reading an Excel file that is XML based. The directory I am reading contains Excel files that can be of two types. Either generic Microsoft based or XML based. I am reading...
1
by: Esmail Bonakarian | last post by:
Greetings all, What is the best way to access specific records in an Excel file? I have an Excel file, I want to randomly and repeatedly (maybe around up to 50 times) draw some rows of data...
0
by: ntuyen01 | last post by:
Hi All, I try to read the data from the excel, but I ran into this problem I have two excel files. file one.xls data inside like this: 1234 1234 1234 1234 abc-123 ...
2
by: Steve Kershaw | last post by:
Hello, I've been trying to spin off an Excel worksheet on the client from an ASP.NET website. I was successfull in displaying an Excel worksheet on the client in a test website (not using IIS,...
1
by: Sport Girl | last post by:
Hi everybody , i have the task of developing in Perl a script that retrieves data from 3 tables ( bugs, profiles, products) from a MySQL database called bugs and display them in an excel sheet...
0
by: jwmaiden | last post by:
Have an application that opens up a webbrowser control to display data in an Excel spreadsheet (using VB.NET in VS 2005). No problem with opening the spreadsheet or displaying the data, but I'm...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.