aboutsummaryrefslogtreecommitdiff
path: root/src/Interface/AbstractBar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface/AbstractBar.cs')
-rw-r--r--src/Interface/AbstractBar.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Interface/AbstractBar.cs b/src/Interface/AbstractBar.cs
index c5918a8..84ece24 100644
--- a/src/Interface/AbstractBar.cs
+++ b/src/Interface/AbstractBar.cs
@@ -1,11 +1,18 @@
-using Microsoft.Office.Interop.Excel;
+using ExcelDna.Integration;
+using Microsoft.Office.Interop.Excel;
namespace RehauSku.Interface
{
- internal abstract class AbstractBar
+ internal abstract class AbstractBar
{
protected Application Excel = AddIn.Excel;
public abstract void Update();
+
+ [ExcelFunction]
+ public static void ResetStatusBar()
+ {
+ AddIn.Excel.StatusBar = false;
+ }
}
}