In this article, we will look at two important points. At the first point, we will know that how we can export data to excel using OpenXML due to its many benefits. In the second point, let us see how we can apply formatting in excel making it look beautiful.