List export to Word or Excel

What is the best way to export a list to either word or excel or a compatible format?
Which is easier?
What do I need to put in plugins?
I’m assuming, some sort of loop?
Thanks!

use this asset it will write data to csv format you can open in excel but you have to rewrite the code for you requirement i achived what i need with this asset.

you can use Uni-Excel Package for Read, Write, and edit excel files