diff --git a/src/PriceListTools/AbstractTool.cs b/src/PriceListTools/AbstractTool.cs index af60d0d..c43d06c 100644 --- a/src/PriceListTools/AbstractTool.cs +++ b/src/PriceListTools/AbstractTool.cs @@ -1,17 +1,15 @@ -using ExcelDna.Integration; -using Microsoft.Office.Interop.Excel; +using Microsoft.Office.Interop.Excel; using RehauSku.Interface; using System; using System.Collections.Generic; using System.Linq; -using Application = Microsoft.Office.Interop.Excel.Application; using ProgressBar = RehauSku.Interface.ProgressBar; namespace RehauSku.PriceListTools { internal abstract class AbstractTool { - protected Application ExcelApp = (Application)ExcelDnaUtil.Application; + protected Application ExcelApp = AddIn.Excel; protected TargetPriceList TargetFile { get; set; } protected ResultBar ResultBar { get; set; } protected ProgressBar ProgressBar { get; set; } diff --git a/src/PriceListTools/ConvertTool.cs b/src/PriceListTools/ConvertTool.cs index fc5850f..abf7e39 100644 --- a/src/PriceListTools/ConvertTool.cs +++ b/src/PriceListTools/ConvertTool.cs @@ -1,5 +1,4 @@ using RehauSku.Interface; -using System; namespace RehauSku.PriceListTools {