Export Ax Data in excel sheet

I want to Export Customer Data in Excel Sheet with heading…

Customer fields are like Account num, Customer group, address, name, telephone…

If any one having idea about it please reply…

Hi,

Refer to this link http://yasirnedian.blogspot.com/2012/03/dynamics-ax-code-to-write-data-to-excel.html

Hope it might solve your problem.

Regards,

Yasir