your script output will be excel or CSV you can do...
# suitescript
a
your script output will be excel or CSV you can do this first