Spreadsheet Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Spreadsheet
Aa198838.space(en-us,office.10).gifAa198838.parchild(en-us,office.10).gif

Represents the container for the spreadsheet.

Using the Spreadsheet Object

You can use the CreateObject method or the New keyword to create a Spreadsheet object.

The object ID for a spreadsheet control on an HTML page or a Visual Basic form returns a Spreadsheet object.

The programmatic identifier for the Spreadsheet object is CLSID:0002E551-0000-0000-C000-000000000046. The following example creates a spreadsheet named "Spreadsheet1" on an HTML page.

  <object id=Spreadsheet1 classid=CLSID:0002E551-0000-0000-C000-000000000046 style="width:49%;height:350"></object>