Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reading from excel into a webpage

3 views
Skip to first unread message

karambos

unread,
Aug 4, 2005, 9:48:50 AM8/4/05
to

I've been asked to create a webpage that reads certain cells from an
excel spreadsheet.

Is this possible?


--
karambos
------------------------------------------------------------------------
karambos's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=16262
View this thread: http://www.excelforum.com/showthread.php?threadid=392892

aaron...@gmail.com

unread,
Aug 4, 2005, 5:49:21 PM8/4/05
to
yes it is quite easy to do this via clientside vbs

Public Sub CaptureExcelValues()

Dim xlApp
Dim wb
Dim ws
set xlApp = createobject("EXCEL.APPLICATION")
set wb = xlApp.workbooks.open("c:\myspreadsheet.xls")
set ws = wb.sheets("MyHappySheetName")

then you can just do anything that you want with it.


End Sub

karambos

unread,
Aug 11, 2005, 4:00:52 AM8/11/05
to

Hi Aaron,

many thanks for the reply.

SO am I right in thinking that once I've created this app, I can just
link to it in my HTML page?

Cheers
K

aaron...@gmail.com

unread,
Aug 11, 2005, 12:57:13 PM8/11/05
to
this app lives in IE. clientside vbscript works like a charm in IE

karambos

unread,
Aug 16, 2005, 4:53:18 AM8/16/05
to

thanks for the reply, Aaron.

I'm a novice at this so please excuse the low level questioning.

I cut and pasted your code into Notepad. I saved it under the name
test.xls and created an HTML page to call this .xls file. It didn't
work

I suspect I don't understand just what the phrase "clientside vb"
means. I'd be grateful if you could clarify.

Many thanks

0 new messages