Spread.Sheets Documentation > Sample Code > Sample Code for Formulas > Using Cross Sheet References |
You can reference other sheets in a formula.
The following image displays the first sheet from the example.
The following image displays the second sheet from the example.
This example uses cross-sheet references.
JavaScript |
Copy Code
|
---|---|
window.onload = function(){ var sheet1 = spread.getSheet(0), sheet1.name("Sheet1"); sheet2.setValue(0, 0, 5000); |