Export and import Excel file with macro in C#, VB.NET, Java, C++, PHP and other! http://www.easyxls.com/manual/basics/excel-macros-vba-project.html