在Google Sheets中,可以通过编写脚本来实现默认Zoom的操作。下面是一个示例脚本:
function setDefaultZoom() {
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var sheet = spreadsheet.getActiveSheet();
sheet.setZoom(100); // 设置默认的缩放比例,这里设置为100%
}
这样,每次打开该电子表格时,都会自动将缩放比例设置为100%。如果需要修改默认缩放比例,只需修改脚本中的sheet.setZoom(100)
中的数值即可。
请注意,以上示例脚本是使用Google Apps Script编写的,它是一种基于JavaScript的脚本语言,用于扩展和自定义Google的各种应用程序,包括Google Sheets。
领取专属 10元无门槛券
手把手带您无忧上云