I have Four spreadsheets one is Admin spreadsheet where all the code is written and other three are employee sheets.
So I want to call script in Admin sheet from Employee sheet using button. Whenever user clicks on button it copies data to Admin sheet.
I do not want code to be in each employee spreadsheet . I want all the code to be in Admin spreadsheet and give link to call the script from the employee spreadsheets.
I did not get solution after searching in google. Tried to use webapps but I think it is used only for HTML pages.
ContentService
to communicate with the WebApp server-side – Oleg Valter