I have this code:
using Excel = Microsoft.Office.Interop.Excel; private void GetActiveExcelFile() { Excel.Workbook oWB;