Reputation: 21
I have the following googleSheet URL:
I want to pass query String parameter in google sheet url and use it in to sheet script
I use this code in sheet script
var url = SpreadsheetApp.getActiveSpreadsheet().getUrl();
above url give me only
https://docs.google.com/spreadsheets/d/19D-ApX1M_vuGUVOSIUrxrpyVna6pxBk86abTfmXRzBI/edit
I want to use all parameters in url like
how it is possible to get parameters empId
and DepId
from googleSheet in Script
Upvotes: 0
Views: 885