Last Updated: Dec 28, 2022
Use this function to import the data in the given CSV file to the first worksheet of a Google Sheet and delete all the existing worksheets.
Import CSV Data (id_or_url, csv_path, private_key, cient_email)
Input Parameter Name | Description |
---|---|
id_or_url | ID or URL of Google Sheet |
csv_path | CSV file path to be imported in Google Sheet |
private_key | Private key of the service account |
client_email | Email ID of the service account |
Return Value | Description |
---|---|
Output |
|
Import CSV Data (ABC123, D:\Desktop\Invoice_Data.csv, —–BEGIN PRIVATE KEY—–\nABCD\n—–END PRIVATE KEY—–, name@project-id.iam.gserviceacValues.com)
To view all the Google Sheets functions, click here.