Interior (对象)
说明
单元格内部填充对象
属性
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const interior = await app.Sheets(1).Views(1).RecordRange(10).Interior
console.log(await interior.Color)
interior.Color = "#00ff00"
}
脚本编辑器 示例
javascript
function main() {
const interior = Application.Sheets(1).Views(1).RecordRange(10).Interior
console.log(interior.Color)
interior.Color = "#00ff00"
}
main()