I have 90 csv files in my Google Drive Id like to import into 90 distinct Google spreadsheets.
I used this tutorial to import 1 csv to 1 spreadsheet, but would it be possible to script import for my 90 files ?
I have 90 csv files in my Google Drive Id like to import into 90 distinct Google spreadsheets.
I used this tutorial to import 1 csv to 1 spreadsheet, but would it be possible to script import for my 90 files ?
For this you can loop the same code for all files.
You have to make changes in this following line:
function convertRangeToCsvFile_(csvFileName) { // Get the selected range in the spreadsheet var ws = SpreadsheetApp.getActiveSpreadsheet().getActiveSelection();
to get the range of each sheet by name.
Hope that helps!