aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn/AddIn.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-01-09 15:47:54 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-01-09 15:47:54 +0300
commit846547d6d905e0dbee73cd9c62760ea43bb88134 (patch)
treed14ea8875b8b348c1f3e03256ec304ea992d635f /src/AddIn/AddIn.cs
parent0c307e985faab3a1510beac3a4740354ef23f585 (diff)
Add SaveAs Dialog after export
Diffstat (limited to 'src/AddIn/AddIn.cs')
-rw-r--r--src/AddIn/AddIn.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs
index 67cdcc8..93d8aec 100644
--- a/src/AddIn/AddIn.cs
+++ b/src/AddIn/AddIn.cs
@@ -1,6 +1,7 @@
using ExcelDna.Integration;
using ExcelDna.IntelliSense;
using ExcelDna.Registration;
+using Microsoft.Office.Interop.Excel;
using System.Net.Http;
using System.Runtime.Caching;
@@ -20,6 +21,7 @@ namespace RehauSku
{
public static HttpClient httpClient;
public static MemoryCache memoryCache;
+ public static Application Excel;
public void AutoOpen()
{
@@ -28,6 +30,7 @@ namespace RehauSku
RegisterFunctions();
IntelliSenseServer.Install();
RegistryUtil.Initialize();
+ Excel = (Application)ExcelDnaUtil.Application;
}
public void AutoClose()