La vidéo explicative
Le code complet
function onOpen(){
SpreadsheetApp.getUi().createMenu("Utilitaire").addItem("Correction de formule","correction").addToUi();
}
function correction(){
var spreadsheetActif = SpreadsheetApp.getActiveSpreadsheet();
var onglets = spreadsheetActif.getSheets();
var celluleActive = spreadsheetActif.getActiveCell();
var position = celluleActive.getA1Notation();
var formule = celluleActive.getFormulaR1C1();
onglets.forEach(onglet => onglet.getRange(position).setFormulaR1C1(formule));
}