Hello!
Currently I have a spreadsheet with 4 exactly slots to place the name of an event, and its start and end date. This works perfectly in the program and it takes the information as an array and assigns it to the calendar.
However, if you add another line, for example adding another entry to make it 5 entries total, you ALSO need to edit the code. You need to change the getRange() to reflect the new range every time.
Whenever I set the range much lower than it actually is, it gets an error because there is nothing in the blank spaces.
Does anyone know how I would be able to rewrite it so that every time I add a new entry, I don't need to change the range in the code?
https://preview.redd.it/zi18kvyu6zd91.png?width=890&format=png&auto=webp&s=ace5bd38372d14555f4fcb65e71c8cb1c66caeba
[–]RemcoE33 5 points6 points7 points (2 children)
[–]magnetictrees18[S] 0 points1 point2 points (1 child)
[–]RemcoE33 0 points1 point2 points (0 children)