How to write an array of strings in excel?

I have the result of a get directory file that reads all the names of PDFs in a folder and I need to write this list in an excel.


Build Datatable
For each loop of Your List
Inside loop use Add data row
Outside for each loop use Write Range

@Slop - are you looking to write something like this…

Exactly! I get it… thanks

thank u very much