ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Spreadsheet web component (https://www.excelbanter.com/excel-programming/311580-spreadsheet-web-component.html)

phil

Spreadsheet web component
 
I tried using the clsid 0002E510-0000-0000-C000-000000000046 in a test html
doc:

<html
<body
<object classid="clsid:0002E510-0000-0000-C000-000000000046"
id="Spreadsheet1"
</object
<input type=button value="button" name=button1
<script language=javascript for="button1" event="onclick"
var z = new Array(3);
z[0]="aaa";
z[1]="bbb";
z[2]="ccc";
Spreadsheet1.Range("a1:c1").Value=z;
</script
</body
</html

This works on a machine with Office 2000, but not on one with Office 2003.
On the latter, I get this error:

Error: Object doesn't support this property or method

Any ideas?


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com