public void Dispose() { try { _excel = null; } catch { } }
public bool OpenExcelFile(string fileName, string password, bool visible) { try { if (!Core.General.Check()) { return(false); } _excel = new UnvaryingSagacity.ExcelExplorer.Interop.ExcelCellTextReaderClass(); return(_excel.OpenExcelFile(fileName, password)); } catch { return(false); } }