-
Notifications
You must be signed in to change notification settings - Fork 0
/
Formatação e chamadas
48 lines (33 loc) · 1.13 KB
/
Formatação e chamadas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function chamaFinalizados(){
var sheet = SpreadsheetApp.getActiveSpreadsheet();
var planilha = sheet.getSheetByName('Finalizados');
SpreadsheetApp.setActiveSheet(planilha)
}
function chamaPendentes(){
var sheet = SpreadsheetApp.getActiveSpreadsheet();
var planilha = sheet.getSheetByName('Pendentes');
SpreadsheetApp.setActiveSheet(planilha);
}
function chamaMatriz(){
var sheet = SpreadsheetApp.getActiveSpreadsheet();
var planilha = sheet.getSheetByName('Matriz');
SpreadsheetApp.setActiveSheet(planilha);
}
function posicaoInicial(linhaInicial, colunaInicial){
var motor = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
motor.getRange(linhaInicial,colunaInicial).activate();
}
function concluir(){
var motor =SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
motor.getRange(1,1).setValue("Concluído")
.setBackground("#3dc55d")
.setFontColor("#ffffff")
.setFontSize(24);
}
function statusAguarde(){
var motor =SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
motor.getRange(1,1).setValue("Aguarde...")
.setBackground("#cbc72e")
.setFontColor("#ffffff")
.setFontSize(24);
}