We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086d92e commit 62d9fd8Copy full SHA for 62d9fd8
src/sheets/main.gs
@@ -13,6 +13,13 @@ const todayDay = new Date().getDate();
13
const sheet = ss.getSheets()[new Date().getMonth() + 1]; // getMonth() returns 0-11 months, not 1-12
14
15
/* Functions */
16
+function onOpen(e)
17
+{
18
+ SpreadsheetApp.getUi().createMenu("Atualizar")
19
+ .addItem("Atualizar agora", "main")
20
+ .addToUi();
21
+}
22
+
23
function findEvent_returnDate()
24
{
25
let data = sheet.getDataRange().getValues(); // macro to retrieve (int row, int col) cell data
@@ -50,4 +57,4 @@ function main()
50
57
highlightToday_sEntry();
51
58
clearOutdatedEvents();
52
59
findEvent_returnDate();
53
-}
60
0 commit comments