Introduction - If you have any usage issues, please Google them yourself
Tip:
1 need to import com inside Microsoft Office 12.0 Object Library or Microsoft Office 11.0 Object Library
2 need to import. Net inside Microsoft.Office.Interop.Excel
Direct look at the code: the code is too long to fit in detail at Annex