Google appscript : Export google sheets data to google slides
It is a small task and straightforward.
I have some data in Google sheets. I want to add an export functionality in google sheets where when I run the appscript, it creates a new google slide and exports the row data where my cursor is placed in google sheets on to the google slide. I've been able to export a single row at a time to Google docs depending on which row my cursor is placed using the attached code in files but am not able to do it yet to export it to Google slides so need help. All the files are currently present and need to be generated on google drive only. You may use any dummy data for this purpose.
leverage the code that I attached as it needs to be extended to develop what I asked for and currently has the functionality that I mentioned in request