Hi,
I have modified the script to output the files in a table format and posted in my blog.
http://www.sherbaz.com/2015/03/list-out-and-script-all-indexes-in-a-database-for-excel-sheets/[/url]
Have a look and let me know if you have any queries.
Thanks and regards
Sherbaz
www.sherbaz.com