How can I export specific column?

hi, I’m working on exporting grid to excel.
I want to export specific columns to excel, but i don’t know how to.
For instance, when there is a grid which have 10 columns on the screen,
(all the columns are visible on the screen)
I want to export 1, 3, 4, 5 columns, not a full grid.(without affecting grid image on the screen)
is that possible?

thanks in advance!