我正在尝试使用左侧功能将自动文本(a8a2dc4e-ba77-450d-8352-0044365e7322)从工作表中的特定列截断到文本的前四个(a8a2)......我无法做到它,我收到错误消息,我无法使用工作表本身的功能,因为工作表每天清除所有功能
这是下面的脚本
function Truncate () {
// Get Spreadsheet and sheets
var R = SpreadsheetApp.openById("Sheet Link");
var Choices = R.getSheetByName("Choices");
UniqueNo = Choices.getRange("H2:H").left(H:4"); //sheet column range and the left function
}
请问我的脚本有什么问题,我可以使用哪个脚本来实现这一点?