Export the Excel file from Grid in Magento

In previous post export CSV, We have learn export CSV from admin grid now i am providing snipped of code to export excel from admin grid.
You can also check other tutorial of Magneto export,