Open target worbook readonly. Turn off Save As dialog.
This commit is contained in:
parent
eb6a28b955
commit
b9c96ae180
@ -18,7 +18,7 @@ namespace RehauSku.PriceListTools
|
|||||||
|
|
||||||
public void OpenNewPrice()
|
public void OpenNewPrice()
|
||||||
{
|
{
|
||||||
Workbook wb = ExcelApp.Workbooks.Open(RegistryUtil.PriceListPath);
|
Workbook wb = ExcelApp.Workbooks.Open(RegistryUtil.PriceListPath, 0, true);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ namespace RehauSku.PriceListTools
|
|||||||
FilterByAmount();
|
FilterByAmount();
|
||||||
ResultBar.Update();
|
ResultBar.Update();
|
||||||
|
|
||||||
Interface.Dialog.SaveWorkbookAs();
|
//Interface.Dialog.SaveWorkbookAs();
|
||||||
ExcelApp.StatusBar = false;
|
ExcelApp.StatusBar = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ namespace RehauSku.PriceListTools
|
|||||||
FilterByAmount();
|
FilterByAmount();
|
||||||
ResultBar.Update();
|
ResultBar.Update();
|
||||||
|
|
||||||
Dialog.SaveWorkbookAs();
|
//Dialog.SaveWorkbookAs();
|
||||||
ExcelApp.StatusBar = false;
|
ExcelApp.StatusBar = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ namespace RehauSku.PriceListTools
|
|||||||
FilterByAmount();
|
FilterByAmount();
|
||||||
ResultBar.Update();
|
ResultBar.Update();
|
||||||
|
|
||||||
Interface.Dialog.SaveWorkbookAs();
|
//Interface.Dialog.SaveWorkbookAs();
|
||||||
ExcelApp.StatusBar = false;
|
ExcelApp.StatusBar = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ namespace RehauSku.PriceListTools
|
|||||||
FilterByAmount();
|
FilterByAmount();
|
||||||
ResultBar.Update();
|
ResultBar.Update();
|
||||||
|
|
||||||
Dialog.SaveWorkbookAs();
|
//Dialog.SaveWorkbookAs();
|
||||||
ExcelApp.StatusBar = false;
|
ExcelApp.StatusBar = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user