共用方式為


Ewa.Sheet Object

Applies to: apps for SharePoint | SharePoint Server 2010

Represents a worksheet or chart sheet in a workbook.

Ewa.Sheet

Remarks

Worksheets or chart sheets that are hidden do not have a corresponding object in the JavaScript object model for Excel Services in Microsoft SharePoint Server 2010. Macro sheets are not supported in this version.

The following table lists ways that you can obtain a Sheet object in the JavaScript object model for Excel Services.

Table 1. Methods that return a Sheet object

Object

Method

Method execution

Workbook

getActiveSheet

Synchronous

SheetCollection

getItem

Synchronous

SheetCollection

getItemByName

Synchronous

Range

getSheet

Synchronous

Example

To see examples of how to get a Sheet object, use the links in the table.

See Also

Concepts

Ewa.Sheet Methods