Don't worry, the next section explains how this code works. Then replace the default code in the editor with the code below. First open the Apps Script editor by selecting Extensions -> Apps Script. The next step is to write an Apps Script to search Drive for the files you own and then export this list to your spreadsheet. Step 2 - Write an Apps Script to search Drive for files you own and export this list to the spreadsheet The list of files will be written to the sheet. Ĭreate a sheet in the spreadsheet called "Files". Here's a tip: You can quickly create a new Google Sheets spreadsheet using. Step 2 - Write an Apps Script to search Drive for files you own and export this list to the spreadsheetĬreate a new Google Sheets spreadsheet or open an existing spreadsheet where you want the list saved. Step 1 - Create a Google Sheets spreadsheet to save the list Three steps to get a list of your files in Google Drive using Apps Script Writing values to a range in a Google Sheets spreadsheet. Even if an app like Google Drive does not have a feature, you often can build that feature yourself with just a few lines of code! Prerequisites This illustrates the power of Apps Script. In this tutorial, I'll show you how to export a list of your Drive files to a Google Sheets spreadsheet. Therefore, I wrote a script using Apps Script to achieve this. I recently had to export a list of my files in Google Drive but I couldn't figure out how to do that from Drive's UI. You will need to scroll down the menu Google Sheets is a green icon of a spreadsheet (see below) Create a New Spreadsheet Click the plus button in the bottle right to create new spreadsheet. Export a list of your files in Google Drive to Google Sheets using Apps Script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |