Answer the question
In order to leave comments, you need to log in
How to get a link from a cell in Google Sheets with a script?
function myFunction() {
var ss = SpreadsheetApp.getActiveSpreadsheet()
var list = ss.getSheetByName("Тест")
var a = list.getRange(2, 1).getValue()
list.getRange(3, 1).setValue(a)
}
Answer the question
In order to leave comments, you need to log in
Maybe so?
function myFunction() {
const ss = SpreadsheetApp.getActiveSpreadsheet();
const sheet = ss.getSheetByName("Тест");
const value = sheet.getRange(2, 1).getRichTextValue();
sheet.getRange(3, 1).setRichTextValue(value);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question