Owc11 events in ASP and vbscript/jscript

F

Fran

We're developing an ASP application with vbscript and OWC11 (we need a
spreadsheet). The Excel ActiveX object is included using an "object" tag,
with Id "ObjExcel". The question is: How to capture the events : Change,
Keypress and EndEdit with vbscript/jscript?. We have tried the following:
<script language="JavaScript1.2" FOR="ObjExcel"
EVENT="ObjExcel_KeyPress(KeyAscii)">
alert("Key press");
</script>
and it didn't work.
Thanks.
 
A

Alvin Bruney [ASP.NET MVP]

use vbscript and the object model, you won't need anything special, if the
OWC finds a function with the same name as the event and the correct
parameters, it simply fires it at the appointed time. you will have to look
at the object model for the exact syntax.

--
Regards,
Alvin Bruney

Auther Plug
OWC Blackbook now on download at www.lulu.com/owc
 

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

Top