I have a sheet on my Google Drive called "Titito." I use SpreadsheetApp.open(Titito)
to open it but it returns:
ReferenceError: "Titito" is not defined. (ligne 5, fichier "macros"
When I try to open it by its URL:
SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1NTql7GMdPg8at0VEaz2jFmzOd4zBVjwArqDqWBww_Ww/edit#gid=0');
it returns:
You do not have permission to call SpreadsheetApp.openByUrl. Required permissions:
While it's my file, created by me.
How can I open a sheet in my drive by a script in an other sheet?
I just would like to know how to do as I did it on Visual Excel (Workbooks.Open Filename:="c:\TermFB\Charges\chargecpt.xls") but on google script
Thanks.