How to generate the template option in Export to Excel using selected fields

how to generate the template option Excel in ax 2012 using Selected fields

Any one help me the code

Can you please elaborate?